public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/28845] New: configured --with-gnu-* reports unrecognized option '-rdynamic'
@ 2006-08-25 14:10 pluto at agmk dot net
2006-08-25 14:18 ` [Bug target/28845] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: pluto at agmk dot net @ 2006-08-25 14:10 UTC (permalink / raw)
To: gcc-bugs
Configured
with: ../configure --target=sparc-sun-solaris2.9
--prefix=/local/devel/toolchain41/sparc-sun-solaris2.9
--libdir=/local/devel/toolchain41/sparc-sun-solaris2.9/lib
--libexecdir=/local/devel/toolchain41/sparc-sun-solaris2.9/lib
--with-slibdir=/local/devel/toolchain41/sparc-sun-solaris2.9/lib
--with-sysroot=/local/devel/toolchain41/sparc-sun-solaris2.9
--with-gnu-as --with-gnu-ld
--disable-multilib --disable-nls --disable-libmudflap
--disable-libssp --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-languages=c,c++
Thread model: posix
gcc version 4.1.2 20060530 (prerelease) (PLD-Linux)
$ sparc-sun-solaris2.9-g++ -c /dev/null -rdynamic
sparc-sun-solaris2.9-g++: unrecognized option '-rdynamic'
sparc-sun-solaris2.9-g++: /dev/null: linker input file unused because
linking not done
-Wl,--export-dynamic works fine.
--
Summary: configured --with-gnu-* reports unrecognized option '-
rdynamic'
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: sparc-sun-solaris2.9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28845
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/28845] configured --with-gnu-* reports unrecognized option '-rdynamic'
2006-08-25 14:10 [Bug driver/28845] New: configured --with-gnu-* reports unrecognized option '-rdynamic' pluto at agmk dot net
@ 2006-08-25 14:18 ` pinskia at gcc dot gnu dot org
2006-08-25 14:38 ` pluto at agmk dot net
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-25 14:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-25 14:18 -------
Solaris is not one of the targets that supports -rdynamic.
--
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=28845
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/28845] configured --with-gnu-* reports unrecognized option '-rdynamic'
2006-08-25 14:10 [Bug driver/28845] New: configured --with-gnu-* reports unrecognized option '-rdynamic' pluto at agmk dot net
2006-08-25 14:18 ` [Bug target/28845] " pinskia at gcc dot gnu dot org
@ 2006-08-25 14:38 ` pluto at agmk dot net
2006-08-25 14:43 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pluto at agmk dot net @ 2006-08-25 14:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pluto at agmk dot net 2006-08-25 14:38 -------
really?
please look at this.
[1] cross build on linux machine:
sparc-sun-solaris2.9-g++ backtracexx.cpp -o libbacktracexx.so -shared -ldl
-Wall -Werror -pedantic \
-O3 -fpic -funwind-tables -fno-exceptions -fno-rtti
sparc-sun-solaris2.9-g++ example.cpp -o example ./libbacktracexx.so -Wall
-Werror -pedantic \
-O1 -funwind-tables -Wl,--export-dynamic
[2] run on soalris:
$ uname -a
SunOS hermes 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Blade-1500
$ ./example
0xff381118 : backtracexx::scan()+0x20
from /home/pawels/backtracexx/libbacktracexx.so
0x10bb0 : zoo()+0xc from /home/pawels/backtracexx/example
0x10ad4 : bar(void (*)())+0x4 from /home/pawels/backtracexx/example
0x10aec : foo()+0x8 from /home/pawels/backtracexx/example
0x10b00 : main+0x4 from /home/pawels/backtracexx/example
0x10968 : _start+0x5c from /home/pawels/backtracexx/example
$ file example libbacktracexx.so
example: ELF 32-bit MSB executable, SPARC, version 1 (SYSV),
dynamically linked (uses shared libs), not stripped
libbacktracexx.so: ELF 32-bit MSB shared object, SPARC, version 1 (SYSV),
not stripped
without -Wl,--export-dynamic i get:
$ ./example
0xff381118 : backtracexx::scan()+0x20
from /home/pawels/backtracexx/libbacktracexx.so
0x10aa4 : _init+0x2c0 from /home/pawels/backtracexx/example
0x109c8 : _init+0x1e4 from /home/pawels/backtracexx/example
0x109e0 : _init+0x1fc from /home/pawels/backtracexx/example
0x109f4 : _init+0x210 from /home/pawels/backtracexx/example
0x1085c : _init+0x78 from /home/pawels/backtracexx/example
cross-binutils for sparc-solaris supports --export-dynamic.
--
pluto at agmk dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28845
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/28845] configured --with-gnu-* reports unrecognized option '-rdynamic'
2006-08-25 14:10 [Bug driver/28845] New: configured --with-gnu-* reports unrecognized option '-rdynamic' pluto at agmk dot net
2006-08-25 14:18 ` [Bug target/28845] " pinskia at gcc dot gnu dot org
2006-08-25 14:38 ` pluto at agmk dot net
@ 2006-08-25 14:43 ` pinskia at gcc dot gnu dot org
2010-04-28 20:51 ` pluto at agmk dot net
2010-04-28 20:52 ` pluto at agmk dot net
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-25 14:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-25 14:43 -------
So read the docs, solaris does not support the option.
--
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=28845
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/28845] configured --with-gnu-* reports unrecognized option '-rdynamic'
2006-08-25 14:10 [Bug driver/28845] New: configured --with-gnu-* reports unrecognized option '-rdynamic' pluto at agmk dot net
` (2 preceding siblings ...)
2006-08-25 14:43 ` pinskia at gcc dot gnu dot org
@ 2010-04-28 20:51 ` pluto at agmk dot net
2010-04-28 20:52 ` pluto at agmk dot net
4 siblings, 0 replies; 6+ messages in thread
From: pluto at agmk dot net @ 2010-04-28 20:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pluto at agmk dot net 2010-04-28 20:51 -------
to mark 'as fixed'...
--
pluto at agmk dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28845
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/28845] configured --with-gnu-* reports unrecognized option '-rdynamic'
2006-08-25 14:10 [Bug driver/28845] New: configured --with-gnu-* reports unrecognized option '-rdynamic' pluto at agmk dot net
` (3 preceding siblings ...)
2010-04-28 20:51 ` pluto at agmk dot net
@ 2010-04-28 20:52 ` pluto at agmk dot net
4 siblings, 0 replies; 6+ messages in thread
From: pluto at agmk dot net @ 2010-04-28 20:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pluto at agmk dot net 2010-04-28 20:51 -------
fixed/dup.
*** This bug has been marked as a duplicate of 37454 ***
--
pluto at agmk dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28845
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-04-28 20:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-25 14:10 [Bug driver/28845] New: configured --with-gnu-* reports unrecognized option '-rdynamic' pluto at agmk dot net
2006-08-25 14:18 ` [Bug target/28845] " pinskia at gcc dot gnu dot org
2006-08-25 14:38 ` pluto at agmk dot net
2006-08-25 14:43 ` pinskia at gcc dot gnu dot org
2010-04-28 20:51 ` pluto at agmk dot net
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).