public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/20503] New: openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS)
@ 2005-03-16 19:27 laurivan at eircom dot net
2005-03-16 20:26 ` [Bug target/20503] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: laurivan at eircom dot net @ 2005-03-16 19:27 UTC (permalink / raw)
To: gcc-bugs
System:
SuSE 9.2
OpenSSL openssl-0.9.7d-25.1.i586.rpm (obtained via apt-get for SuSE).
Command line:
gcc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -D_GNU_SOURCE=1 -Dlinux=1 -I../../src/include
-I../../lib/include -DDEBUG -O2 -Werror -c -o
../../obj/trace_tools/parsetrace/parsetrace.o parsetrace.c
gcc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -D_GNU_SOURCE=1 -Dlinux=1 -I../../src/include
-I../../lib/include -DDEBUG -O2 -Werror -o ../../bin/parsetrace
../../obj/trace_tools/parsetrace/parsetrace.o -L../../lib -Wl,-E
-L/home/laur/work/source -lR -lm -lz -ldl -lncurses -lcrypto
-Wl,--whole-archive,-lmylib,--no-whole-archive -lm -lz
where -lmylib is a libmylib.a contining calls from libcrypto.a
ld -r -o ../obj/src/lib.o --whole-archive ../bin/libmylib.a --no-whole-archive \
/usr/lib/libcrypto.a
Error:
`__i686.get_pc_thunk.bx' referenced in section `.text' of
/usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section
`.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS)
Also, the binary is rendered unusable.
a nm difference of libmylib.a between a libcrypto.a compiled with -mcpu=i686 and
a version compiled with -mcpu=i586 (or no -mcpu for that matter) shows the
presence of:
XXXXXX t __i686.get_pc_thunk.bx
XXXXXX t __i686.get_pc_thunk.cx
in the -mcpu=i686 variant.
Notes:
I have played with the openSSL compilation flags and the only case where the
error is present is where -mcpu=i686 flag is present (I've tried with
-mcpu=pentium4 and I get the same error).
--
Summary: openssl compiled with -mcpu=i686 triggers
`__i686.get_pc_thunk.bx' referenced in section `.text'
of /usr/lib/libc_nonshared.a(elf-init.oS): defined in
discarded section
`.gnu.linkonce.t.__i686.get_pc_thunk.bx' of
/usr/lib/libc_nonshared.a(elf-init.oS)
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: laurivan at eircom dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: Reading specs from /usr/lib/gcc-lib/i586-suse-
linux/3.3.4/specs
GCC host triplet: SuSE 9.2, Linux gluon 2.6.8-24.11-smp #1 SMP Fri Jan 14
13:01:26
GCC target triplet: SuSE 9.2, Linux gluon 2.6.8-24.11-smp #1 SMP Fri Jan 14
13:01:26
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20503
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/20503] openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS)
2005-03-16 19:27 [Bug c/20503] New: openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS) laurivan at eircom dot net
@ 2005-03-16 20:26 ` pinskia at gcc dot gnu dot org
2005-03-16 23:58 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-16 20:26 -------
Are you sure that this is not a binutils bug?
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |minor
Component|c |target
GCC build triplet|Reading specs from |Reading specs from
|/usr/lib/gcc-lib/i586-suse- |/usr/lib/gcc-lib/i586-suse-
|linux/3.3.4/specs |linux/3.3.4/specs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20503
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/20503] openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS)
2005-03-16 19:27 [Bug c/20503] New: openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS) laurivan at eircom dot net
2005-03-16 20:26 ` [Bug target/20503] " pinskia at gcc dot gnu dot org
@ 2005-03-16 23:58 ` pinskia at gcc dot gnu dot org
2005-03-17 8:20 ` laurivan at eircom dot net
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 23:58 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC host triplet|SuSE 9.2, Linux gluon 2.6.8-|
|24.11-smp #1 SMP Fri Jan 14 |
|13:01:26 |
GCC target triplet|SuSE 9.2, Linux gluon 2.6.8-|i686-pc-linux-gnu
|24.11-smp #1 SMP Fri Jan 14 |
|13:01:26 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20503
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/20503] openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS)
2005-03-16 19:27 [Bug c/20503] New: openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS) laurivan at eircom dot net
2005-03-16 20:26 ` [Bug target/20503] " pinskia at gcc dot gnu dot org
2005-03-16 23:58 ` pinskia at gcc dot gnu dot org
@ 2005-03-17 8:20 ` laurivan at eircom dot net
2005-03-26 18:30 ` pinskia at gcc dot gnu dot org
2005-06-25 18:34 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: laurivan at eircom dot net @ 2005-03-17 8:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From laurivan at eircom dot net 2005-03-17 08:20 -------
How can it be transferred to binutils?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20503
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/20503] openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS)
2005-03-16 19:27 [Bug c/20503] New: openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS) laurivan at eircom dot net
` (2 preceding siblings ...)
2005-03-17 8:20 ` laurivan at eircom dot net
@ 2005-03-26 18:30 ` pinskia at gcc dot gnu dot org
2005-06-25 18:34 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-26 18:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-26 18:30 -------
Well first we need the preprocessed source. Also are you using the GCC provided by SuSE, well I would
report it to them first.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|minor |normal
Status|UNCONFIRMED |WAITING
GCC build triplet|Reading specs from |
|/usr/lib/gcc-lib/i586-suse- |
|linux/3.3.4/specs |
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20503
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/20503] openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS)
2005-03-16 19:27 [Bug c/20503] New: openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS) laurivan at eircom dot net
` (3 preceding siblings ...)
2005-03-26 18:30 ` pinskia at gcc dot gnu dot org
@ 2005-06-25 18:34 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-25 18:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-25 18:34 -------
No feedback in 3 months.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20503
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-06-25 18:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16 19:27 [Bug c/20503] New: openssl compiled with -mcpu=i686 triggers `__i686.get_pc_thunk.bx' referenced in section `.text' of /usr/lib/libc_nonshared.a(elf-init.oS): defined in discarded section `.gnu.linkonce.t.__i686.get_pc_thunk.bx' of /usr/lib/libc_nonshared.a(elf-init.oS) laurivan at eircom dot net
2005-03-16 20:26 ` [Bug target/20503] " pinskia at gcc dot gnu dot org
2005-03-16 23:58 ` pinskia at gcc dot gnu dot org
2005-03-17 8:20 ` laurivan at eircom dot net
2005-03-26 18:30 ` pinskia at gcc dot gnu dot org
2005-06-25 18:34 ` 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).