public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15253] New: __eprintf link issue for c++ on solaris 2.6
@ 2004-05-03  1:02 nick dot thurn at db dot com
  2004-05-03  1:10 ` [Bug target/15253] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: nick dot thurn at db dot com @ 2004-05-03  1:02 UTC (permalink / raw)
  To: gcc-bugs

The basic printf("hello world!\n" program fails to link under gcc-3.4.0 on 
solaris 2.6 with the following error:

/apps/race/home/nickt/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

This is for the following command line:

g++ -v test.cpp

The identical file (with .c extension) compiles/links with gcc and g++.
All my other c++ executables suffer the same link issue.

gcc was configured as follows:

kilmer: ~>g++ -v
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

And built using:

gmake CFLAGS='-O' LIBCFLAGS='-g -O2' \
       LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean

Thanks
Nick Thurn

-- 
           Summary: __eprintf link issue for c++ on solaris 2.6
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nick dot thurn at db dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.6
  GCC host triplet: sparc-sun-solaris2.6
GCC target triplet: sparc-sun-solaris2.6


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-05-20  2:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-03  1:02 [Bug c++/15253] New: __eprintf link issue for c++ on solaris 2.6 nick dot thurn at db dot com
2004-05-03  1:10 ` [Bug target/15253] " pinskia at gcc dot gnu dot org
2004-05-03  5:45 ` ebotcazou at gcc dot gnu dot org
2004-05-03  5:59 ` nick dot thurn at db dot com
2004-05-03  7:19 ` ebotcazou at gcc dot gnu dot org
2004-05-03 23:49 ` nick dot thurn at db dot com
2004-05-07 20:53 ` drow at false dot org
2004-05-07 21:28 ` ebotcazou at gcc dot gnu dot org
2004-05-08 17:00 ` ebotcazou at gcc dot gnu dot org
2004-05-14 17:24 ` ebotcazou at gcc dot gnu dot org
2004-05-14 17:25 ` nick dot thurn at db dot com
2004-05-19 13:30 ` pinskia at gcc dot gnu dot org
2004-05-20 18:43 ` pinskia at gcc dot gnu dot org
2004-05-21  3:38 ` nick dot thurn at db dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).