From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8908 invoked by alias); 22 Jul 2003 03:12:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 8901 invoked by uid 48); 22 Jul 2003 03:12:29 -0000 Date: Tue, 22 Jul 2003 03:12:00 -0000 From: "rlw at cinci dot rr dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20030722031228.11626.rlw@cinci.rr.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/11626] New: abi_check fails to compile during make bootstrap X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg02555.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11626 Summary: abi_check fails to compile during make bootstrap Product: gcc Version: 3.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rlw at cinci dot rr dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: 3.3 GCC host triplet: Solaris Sparc 2.7 Generic_106541-23 GCC target triplet: 3.3 This is essentially the same bug as 11612, however it is for Solaris 2.7 rather than Linux X86. When doing make bootstrap you get an error and the compile is aborted while trying to compile abi_check.o. This seems to be due to an inability to find libstdc++.so. The Makefile in sparc-sun- solaris2.7/sparcv9/libstdc++-v3/testsuite and in sparc-sun-solaris2.7/libstdc++- v3/testsuite uses the LD_RUN_PATH variable which seems to not work. When I comment out that line and modify the Makefile in sparc-sun- solaris2.7/sparcv9/libstdc++-v3 to include LD_LIBRARY_PATH as per the following snippet then things compile properly. check-abi: $(top_builddir)/testsuite/abi_check -@(cd testsuite; \ LD_LIBRARY_PATH=../src/.libs:.:$LD_LIBRARY_PATH \ /export/apps/software_orig/gcc/gcc-3.3/libstdc++-v3/config/abi/extract _symvers \ I have set CONFIG_SHELL=/bin/ksh in my environment and before running configure. Here is my configure command bash# cat configure_cmd2.sh CONFIG_SHELL=/bin/ksh;export CONFIG_SHELL NM=/usr/ccs/bin/nm;export NM ../configure --prefix=/usr/local/gcc-3.3 --with-gnu-as --with- as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld --disable-nls -- enable-languages=c,c++,java Regards, Richard