public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/35857] New: --disable-shared doesn't build libgcc_eh.a
@ 2008-04-07 12:14 pluto at agmk dot net
2008-12-29 2:39 ` [Bug other/35857] --disable-shared doesn't install libgcc_eh.a pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pluto at agmk dot net @ 2008-04-07 12:14 UTC (permalink / raw)
To: gcc-bugs
i noticed that --disable-shared also disables the libgcc_eh.a
in libgcc/Makefile.in:
(...)
ifeq ($(enable_shared),yes)
all: libgcc_eh.a libgcc_s$(SHLIB_EXT)
ifneq ($(LIBUNWIND),)
all: libunwind$(SHLIB_EXT)
endif
endif
(...)
imho this looks like a bug.
libgcc_eh.a is used with libgcc.a in cross-toolchains.
--
Summary: --disable-shared doesn't build libgcc_eh.a
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35857
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/35857] --disable-shared doesn't install libgcc_eh.a
2008-04-07 12:14 [Bug other/35857] New: --disable-shared doesn't build libgcc_eh.a pluto at agmk dot net
@ 2008-12-29 2:39 ` pinskia at gcc dot gnu dot org
2008-12-29 9:34 ` pluto at agmk dot net
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-29 2:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-29 02:38 -------
IIRC libgcc_eh.a is only needed for shared targets.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35857
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/35857] --disable-shared doesn't install libgcc_eh.a
2008-04-07 12:14 [Bug other/35857] New: --disable-shared doesn't build libgcc_eh.a pluto at agmk dot net
2008-12-29 2:39 ` [Bug other/35857] --disable-shared doesn't install libgcc_eh.a pinskia at gcc dot gnu dot org
@ 2008-12-29 9:34 ` pluto at agmk dot net
2008-12-29 11:53 ` jakub at gcc dot gnu dot org
2008-12-29 14:02 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pluto at agmk dot net @ 2008-12-29 9:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pluto at agmk dot net 2008-12-29 09:32 -------
(In reply to comment #1)
> IIRC libgcc_eh.a is only needed for shared targets.
>
e.g., stlport configured with --enable-static --use-static-gcc needs
static -lgcc_eh, -lgcc and -lsupc++ to self-link. it uses only shared
libc components and doesn't require any .so from gcc.
ldd libstlport.so.5.2.1
linux-vdso.so.1 => (0x00007fffae1ff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb0a5b77000)
libc.so.6 => /lib64/libc.so.6 (0x00007fb0a581f000)
libm.so.6 => /lib64/libm.so.6 (0x00007fb0a559c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb0a6045000)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35857
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/35857] --disable-shared doesn't install libgcc_eh.a
2008-04-07 12:14 [Bug other/35857] New: --disable-shared doesn't build libgcc_eh.a pluto at agmk dot net
2008-12-29 2:39 ` [Bug other/35857] --disable-shared doesn't install libgcc_eh.a pinskia at gcc dot gnu dot org
2008-12-29 9:34 ` pluto at agmk dot net
@ 2008-12-29 11:53 ` jakub at gcc dot gnu dot org
2008-12-29 14:02 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-29 11:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2008-12-29 11:51 -------
For --disable-static, all the unwinder etc. objects are already in libgcc.a.
Guess stlport just needs to fix up its configury.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35857
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug other/35857] --disable-shared doesn't install libgcc_eh.a
2008-04-07 12:14 [Bug other/35857] New: --disable-shared doesn't build libgcc_eh.a pluto at agmk dot net
` (2 preceding siblings ...)
2008-12-29 11:53 ` jakub at gcc dot gnu dot org
@ 2008-12-29 14:02 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-29 14:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-29 14:00 -------
STLport is just broken then. Not GCC's bug then.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35857
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-29 14:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-07 12:14 [Bug other/35857] New: --disable-shared doesn't build libgcc_eh.a pluto at agmk dot net
2008-12-29 2:39 ` [Bug other/35857] --disable-shared doesn't install libgcc_eh.a pinskia at gcc dot gnu dot org
2008-12-29 9:34 ` pluto at agmk dot net
2008-12-29 11:53 ` jakub at gcc dot gnu dot org
2008-12-29 14:02 ` 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).