public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/37454] New: gcc: unrecognized option '-rdynamic' @ 2008-09-10 6:46 YLitvinenko at astana dot oilfield dot slb dot com 2008-09-13 13:05 ` [Bug c/37454] " rguenth at gcc dot gnu dot org ` (7 more replies) 0 siblings, 8 replies; 9+ messages in thread From: YLitvinenko at astana dot oilfield dot slb dot com @ 2008-09-10 6:46 UTC (permalink / raw) To: gcc-bugs gcc doesn't know -rdynamic option >From gcc-4.3.1 man page -rdynamic Pass the flag -export-dynamic to the ELF linker, on targets that support it. This instructs the linker to add all symbols, not only used ones, to the dynamic symbol table. This option is needed for some uses of "dlopen" or to allow obtaining backtraces from within a program. >From ld 2.18 man page --export-dynamic When creating a dynamically linked executable, add all symbols to the dynamic symbol table. The dynamic symbol table is the set of symbols which are visible from dynamic objects at run time. So I believe that gcc should know "-rdynamic" My fix was to add the following line to the #define LINK_SPEC in the file gcc-4.3.1/gcc/config/sol2.h at line 145: %{rdynamic:--export-dynamic} \ OS and tools SunOS solaris 5.11 snv_95 i86pc i386 i86pc Solaris gcc (GCC) 4.3.1 ld (GNU Binutils) 2.18 -- Summary: gcc: unrecognized option '-rdynamic' Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: YLitvinenko at astana dot oilfield dot slb dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/37454] gcc: unrecognized option '-rdynamic' 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com @ 2008-09-13 13:05 ` rguenth at gcc dot gnu dot org 2008-09-14 4:45 ` [Bug target/37454] " pinskia at gcc dot gnu dot org ` (6 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: rguenth at gcc dot gnu dot org @ 2008-09-13 13:05 UTC (permalink / raw) To: gcc-bugs -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC target triplet| |ix86-sun-solaris Last reconfirmed|0000-00-00 00:00:00 |2008-09-13 13:03:45 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/37454] gcc: unrecognized option '-rdynamic' 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com 2008-09-13 13:05 ` [Bug c/37454] " rguenth at gcc dot gnu dot org @ 2008-09-14 4:45 ` pinskia at gcc dot gnu dot org 2008-09-14 7:07 ` pluto at agmk dot net ` (5 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2008-09-14 4:45 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2008-09-14 04:43 ------- Note you can use Sun's ld with GCC so that patch is not always the correct one. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c |target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/37454] gcc: unrecognized option '-rdynamic' 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com 2008-09-13 13:05 ` [Bug c/37454] " rguenth at gcc dot gnu dot org 2008-09-14 4:45 ` [Bug target/37454] " pinskia at gcc dot gnu dot org @ 2008-09-14 7:07 ` pluto at agmk dot net 2010-01-08 21:55 ` sje at gcc dot gnu dot org ` (4 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pluto at agmk dot net @ 2008-09-14 7:07 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pluto at agmk dot net 2008-09-14 07:06 ------- -rdynamic could be enabled by the --with-gnu-ld configure option. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/37454] gcc: unrecognized option '-rdynamic' 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com ` (2 preceding siblings ...) 2008-09-14 7:07 ` pluto at agmk dot net @ 2010-01-08 21:55 ` sje at gcc dot gnu dot org 2010-01-10 20:23 ` sje at gcc dot gnu dot org ` (3 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: sje at gcc dot gnu dot org @ 2010-01-08 21:55 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from sje at gcc dot gnu dot org 2010-01-08 21:55 ------- Subject: Bug 37454 Author: sje Date: Fri Jan 8 21:54:37 2010 New Revision: 155745 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155745 Log: 2010-01-08 Steve Ellcey <sje@cup.hp.com> PR target/37454 * configure.ac: Modify -rdynamic check. * configure: Regenerate. Modified: trunk/gcc/ChangeLog trunk/gcc/configure trunk/gcc/configure.ac -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/37454] gcc: unrecognized option '-rdynamic' 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com ` (3 preceding siblings ...) 2010-01-08 21:55 ` sje at gcc dot gnu dot org @ 2010-01-10 20:23 ` sje at gcc dot gnu dot org 2010-04-28 20:32 ` ro at gcc dot gnu dot org ` (2 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: sje at gcc dot gnu dot org @ 2010-01-10 20:23 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from sje at gcc dot gnu dot org 2010-01-10 20:23 ------- Subject: Bug 37454 Author: sje Date: Sun Jan 10 20:23:08 2010 New Revision: 155792 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155792 Log: 2010-01-10 Steve Ellcey <sje@cup.hp.com> PR target/37454 * configure.ac: Save and restore LDFLAGS and LIBS * configure: Regenerate. Modified: trunk/gcc/ChangeLog trunk/gcc/configure trunk/gcc/configure.ac -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/37454] gcc: unrecognized option '-rdynamic' 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com ` (4 preceding siblings ...) 2010-01-10 20:23 ` sje at gcc dot gnu dot org @ 2010-04-28 20:32 ` ro at gcc dot gnu dot org 2010-04-28 20:34 ` ro at gcc dot gnu dot org 2010-04-28 20:52 ` pluto at agmk dot net 7 siblings, 0 replies; 9+ messages in thread From: ro at gcc dot gnu dot org @ 2010-04-28 20:32 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from ro at gcc dot gnu dot org 2010-04-28 20:32 ------- Mine. -- ro at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ro at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2008-09-13 13:03:45 |2010-04-28 20:32:15 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/37454] gcc: unrecognized option '-rdynamic' 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com ` (5 preceding siblings ...) 2010-04-28 20:32 ` ro at gcc dot gnu dot org @ 2010-04-28 20:34 ` ro at gcc dot gnu dot org 2010-04-28 20:52 ` pluto at agmk dot net 7 siblings, 0 replies; 9+ messages in thread From: ro at gcc dot gnu dot org @ 2010-04-28 20:34 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from ro at gcc dot gnu dot org 2010-04-28 20:34 ------- Fixed for 4.5.1, 4.6.0. -- ro at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://gcc.gnu.org/ml/gcc- | |patches/2010- | |03/msg01458.html Status|ASSIGNED |RESOLVED Keywords| |patch Known to work| |4.5.1 4.6.0 Resolution| |FIXED Target Milestone|--- |4.5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/37454] gcc: unrecognized option '-rdynamic' 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com ` (6 preceding siblings ...) 2010-04-28 20:34 ` ro at gcc dot gnu dot org @ 2010-04-28 20:52 ` pluto at agmk dot net 7 siblings, 0 replies; 9+ messages in thread From: pluto at agmk dot net @ 2010-04-28 20:52 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from pluto at agmk dot net 2010-04-28 20:51 ------- *** Bug 28845 has been marked as a duplicate of this bug. *** -- pluto at agmk dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37454 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-04-28 20:52 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-09-10 6:46 [Bug c/37454] New: gcc: unrecognized option '-rdynamic' YLitvinenko at astana dot oilfield dot slb dot com 2008-09-13 13:05 ` [Bug c/37454] " rguenth at gcc dot gnu dot org 2008-09-14 4:45 ` [Bug target/37454] " pinskia at gcc dot gnu dot org 2008-09-14 7:07 ` pluto at agmk dot net 2010-01-08 21:55 ` sje at gcc dot gnu dot org 2010-01-10 20:23 ` sje at gcc dot gnu dot org 2010-04-28 20:32 ` ro at gcc dot gnu dot org 2010-04-28 20:34 ` ro at gcc dot gnu dot org 2010-04-28 20:52 ` pluto at agmk dot net
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).