[Bug libstdc++/11626] New: abi_check fails to compile during make bootstrap

rlw at cinci dot rr dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 22 03:12:00 GMT 2003


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



More information about the Gcc-bugs mailing list