[Bug target/15253] __eprintf link issue for c++ on solaris 2.6

nick dot thurn at db dot com gcc-bugzilla@gcc.gnu.org
Mon May 3 23:49:00 GMT 2004


------- Additional Comments From nick dot thurn at db dot com  2004-05-03 23:49 -------
Subject: Re:  __eprintf link issue for c++ on solaris 2.6


I just realised the full config wasn't in the original report. In any case the below shows the error.
Note that I recompiled with gmake bootstrap last night to no effect - I did not start from clean and configure however.

kilmer: ~>g++ -v test.cpp
Reading specs from /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/apps/race/home/nickt/gcc --with-gnu-as --with-as=/apps/race/gcc/bin/as --with-gnu-ld --with-ld=/apps/race/gcc/bin/ld --enable-languages=c,c++
Thread model: posix
gcc version 3.4.0
 /apps/race/home/nickt/gcc/libexec/gcc/sparc-sun-solaris2.6/3.4.0/cc1plus -quiet -v test.cpp -quiet -dumpbase test.cpp -mcpu=v7 -auxbase test -version -o /var/tmp//ccoYMIug.s
ignoring nonexistent directory "/apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/../../../../sparc-sun-solaris2.6/include"
#include "..." search starts here:
#include <...> search starts here:
 /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/../../../../include/c++/3.4.0
 /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/../../../../include/c++/3.4.0/sparc-sun-solaris2.6
 /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/../../../../include/c++/3.4.0/backward
 /usr/local/include
 /apps/race/home/nickt/gcc/include
 /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/include
 /usr/include
End of search list.
GNU C++ version 3.4.0 (sparc-sun-solaris2.6)
        compiled by GNU C version 3.4.0.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
 /apps/race/gcc/bin/as -V -Qy -s -o /var/tmp//ccAL9glz.o /var/tmp//ccoYMIug.s
GNU assembler version 2.14 (sparc-sun-solaris2.6) using BFD version 2.14 20030612
 /apps/race/home/nickt/gcc/libexec/gcc/sparc-sun-solaris2.6/3.4.0/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/crt1.o /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/crti.o /usr/ccs/lib/values-Xa.o /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/crtbegin.o -L/apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0 -L/apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/../../../../sparc-sun-solaris2.6/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/../../.. /var/tmp//ccAL9glz.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc -lc /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/crtend.o /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/crtn.o
/apps/race/gcc/bin/ld: a.out: hidden symbol `__eprintf' in /apps/race/home/nickt/gcc/lib/gcc/sparc-sun-solaris2.6/3.4.0/libgcc.a(_eprintf.oS) is referenced by DSO
GNU ld version 2.14 20030612
  Supported emulations:
   elf32_sparc
collect2: ld returned 1 exit status

cheers
Nick

CBTO-GRT IT Sydney
+61-2-9258-1394




                                                                                                                                       
                      gcc-bugzilla@gcc.                                                                                                
                      gnu.org                  To:       Nick Thurn/Sydney/DBAustralia/DeuBa@DBAustralia                               
                                               cc:                                                                                     
                      03/05/2004 05:19         Subject:  [Bug target/15253] __eprintf link issue for c++ on solaris 2.6                
                      PM                                                                                                               
                      Please respond to                                                                                                
                      gcc-bugzilla                                                                                                     
                                                                                                                                       
                                                                                                                                       





------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-05-03 07:19 -------
Thanks.  The problem doesn't occur with a compiler built with 'gmake bootstrap'
and wired to use the Sun tools.  I'll try to reproduce your configuration.


--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-03 07:19:44
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15253

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.





--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15253



More information about the Gcc-bugs mailing list