From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13372 invoked by alias); 7 Aug 2010 00:18:44 -0000 Received: (qmail 13336 invoked by alias); 7 Aug 2010 00:18:33 -0000 Date: Sat, 07 Aug 2010 00:18:00 -0000 Message-ID: <20100807001833.13335.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/45174] Make fails in zlib In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dschlic1 at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00481.txt.bz2 ------- Comment #16 from dschlic1 at gmail dot com 2010-08-07 00:18 ------- Subject: Re: Make fails in zlib Hello; I changed the value of lt_cv_shlibpath_overrides_runpath (it was set to the result of an equality statement). No joy. The log is attached. Results from the terminal are: donald@donald-desktop:~$ sh Try15.sh /home/donald arm-elf 5 Found Linux OS. ****************************************************************** * Building gcc-4.5.1-boot ****************************************************************** make[3]: *** No rule to make target `all'. Stop. make[2]: *** [multi-do] Error 1 make[1]: *** [all-multi] Error 2 make: *** [all-zlib] Error 2 make: *** Waiting for unfinished jobs.... donald@donald-desktop:~$ Previously to placing this bug report, I tried to find the source of the error. The error occurs in this piece of code from configure in the zlib source directory: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" if test x$gcc_no_link = xyes; then as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi This piece of code is executed twice, first with lt_cv_ld_exported_symbols_list set to blank, and gcc_no_link set to blank. lt_cv_ld_exported_symbols_list is set to no because the else part of the if statement is executed. Because gcc_no_link is not set, no error is triggered. However on the second pass, lt_cv_ld_exported_symbols_list has lost its value (is blank), however gcc_no_link is set to yes. Result error. I have not found out why lt_cv_ld_exported_symbols_list loses its value on the second pass. LDFLAGS also loses its value on the second pass. Thank You, Donald Schlicht ------- Comment #17 from dschlic1 at gmail dot com 2010-08-07 00:18 ------- Created an attachment (id=21430) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21430&action=view) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45174