public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/12986] New: ${prefix}/lib/gcc-lib/i386-unknown-freebsd4.9/3.4/ doesn't get included as search path for libstdc++.a
@ 2003-11-10  7:56 v dot haisman at sh dot cvut dot cz
  2003-11-10  7:59 ` [Bug driver/12986] " v dot haisman at sh dot cvut dot cz
  2003-11-10  8:03 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2003-11-10  7:56 UTC (permalink / raw)
  To: gcc-bugs

There seems to be a problem with G++ that
${prefix}/lib/gcc-lib/i386-unknown-freebsd4.9/3.4/ doesn't get included as
search path for libstdc++.a. The manifestation is that compilation of the
simpliest of programs ends with linking error.

logout ~/tmp>cat > simple.cxx
int main ()
{
throw 1;
}

logout ~/tmp>g++ -v -o simple simple.cxx
Reading specs from /home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/specs
Configured with: ../srcdir/configure --disable-nls
--enable-version-specific-runtime-libs --enable-dwarf2 --with-cpu=i686
--with-arch=i686 --with-system-zlib --disable-shared --prefix=/home/4/wilx :
(reconfigured) ../srcdir/configure --disable-nls
--enable-version-specific-runtime-libs --enable-dwarf2 --with-cpu=i686
--with-arch=i686 --with-system-zlib --disable-shared --prefix=/home/4/wilx
--enable-languages=c,c++
Thread model: posix
gcc version 3.4 20031109 (experimental)
 /home/4/wilx/libexec/gcc/i386-unknown-freebsd4.9/3.4/cc1plus -quiet -v
simple.cxx -quiet -dumpbase simple.cxx -march=i686 -auxbase simple -version -o
/home/4/wilx/tmp/tmp/cc1o1Icg.s
ignoring nonexistent directory
"/home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/../../../../i386-unknown-freebsd4.9/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/include/c++
 /home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/include/c++/i386-unknown-freebsd4.9
 /home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/include/c++/backward
 /usr/local/include
 /home/4/wilx/include
 /home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/include
 /usr/include
End of search list.
GNU C++ version 3.4 20031109 (experimental) (i386-unknown-freebsd4.9)
        compiled by GNU C version 3.4 20031109 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
 as -o /home/4/wilx/tmp/tmp/cclOcqNC.o /home/4/wilx/tmp/tmp/cc1o1Icg.s
 /home/4/wilx/libexec/gcc/i386-unknown-freebsd4.9/3.4/collect2 -V
-dynamic-linker /usr/libexec/ld-elf.so.1 -o simple /usr/lib/crt1.o
/usr/lib/crti.o /home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/crtbegin.o
-L/home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4
-L/home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/../../..
/home/4/wilx/tmp/tmp/cclOcqNC.o -lstdc++ -lm -lgcc -lc -lgcc
/home/4/wilx/lib/gcc/i386-unknown-freebsd4.9/3.4/crtend.o /usr/lib/crtn.o
/home/4/wilx/tmp/tmp/cclOcqNC.o: In function `main':
/home/4/wilx/tmp/tmp/cclOcqNC.o(.text+0x24): undefined reference to
`__cxa_allocate_exception'
/home/4/wilx/tmp/tmp/cclOcqNC.o(.text+0x3a): undefined reference to `typeinfo
for int'
/home/4/wilx/tmp/tmp/cclOcqNC.o(.text+0x42): undefined reference to `__cxa_throw'
/home/4/wilx/tmp/tmp/cclOcqNC.o(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'
GNU ld version 2.12.1 [FreeBSD] 2002-07-20
  Supported emulations:
   elf_i386
collect2: ld returned 1 exit status

-- 
           Summary: ${prefix}/lib/gcc-lib/i386-unknown-freebsd4.9/3.4/
                    doesn't get included as search path for libstdc++.a
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: v dot haisman at sh dot cvut dot cz
                CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
                    cvut dot cz
 GCC build triplet: i386-unknown-freebsd4.9
  GCC host triplet: i386-unknown-freebsd4.9
GCC target triplet: i386-unknown-freebsd4.9


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


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

* [Bug driver/12986] ${prefix}/lib/gcc-lib/i386-unknown-freebsd4.9/3.4/ doesn't get included as search path for libstdc++.a
  2003-11-10  7:56 [Bug driver/12986] New: ${prefix}/lib/gcc-lib/i386-unknown-freebsd4.9/3.4/ doesn't get included as search path for libstdc++.a v dot haisman at sh dot cvut dot cz
@ 2003-11-10  7:59 ` v dot haisman at sh dot cvut dot cz
  2003-11-10  8:03 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2003-11-10  7:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From v dot haisman at sh dot cvut dot cz  2003-11-10 07:59 -------
I am also experiencing similar behaviour on i686-pc-cygwin.

-- 


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


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

* [Bug driver/12986] ${prefix}/lib/gcc-lib/i386-unknown-freebsd4.9/3.4/ doesn't get included as search path for libstdc++.a
  2003-11-10  7:56 [Bug driver/12986] New: ${prefix}/lib/gcc-lib/i386-unknown-freebsd4.9/3.4/ doesn't get included as search path for libstdc++.a v dot haisman at sh dot cvut dot cz
  2003-11-10  7:59 ` [Bug driver/12986] " v dot haisman at sh dot cvut dot cz
@ 2003-11-10  8:03 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-10  8:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-10 08:03 -------
This is a dup of bug 12179, the problem is --enable-version-specific-runtime-libs does not work 
on the mainline (except for libobjc which was fixed), can you try the patch in that PR so that I know 
if it works.

Thanks,
Andrew Pinski

*** This bug has been marked as a duplicate of 12179 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2003-11-10  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-10  7:56 [Bug driver/12986] New: ${prefix}/lib/gcc-lib/i386-unknown-freebsd4.9/3.4/ doesn't get included as search path for libstdc++.a v dot haisman at sh dot cvut dot cz
2003-11-10  7:59 ` [Bug driver/12986] " v dot haisman at sh dot cvut dot cz
2003-11-10  8:03 ` pinskia at gcc dot gnu dot org

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).