[Bug gold/12388] icf_test.sh and icf_safe_test.sh fail

2011-07-11 Thread rguenth at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12388

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2011-07-11 
11:27:55 UTC ---
The tests now work on the 2.21 branch.  The only gold fail on x86_64 (with GCC
4.6.1) is

PASS: exception_test
/bin/sh: line 1:  9918 Aborted $tst 
exception_static_test.lo
g-t 21
FAIL: exception_static_test

and for i?86 I still get linker fails for them:

g++ -W -Wall-Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-fmerge-const
ants -O2 -g -Bgcctestdir/ -static  -o exception_static_test
exception_test_main.
o exception_test_1.o exception_test_2.o  -lz 
gcctestdir/ld:
/usr/lib/gcc/i586-suse-linux/4.6/../../../libc.a(errlist.o):(.deb
ug_info+0x1c3): warning: `sys_errlist' is deprecated; use `strerror' or
`strerro
r_r' instead
gcctestdir/ld:
/usr/lib/gcc/i586-suse-linux/4.6/../../../libc.a(errlist.o):(.deb
ug_info+0x1f1): warning: `sys_nerr' is deprecated; use `strerror' or
`strerror_r
' instead
gcctestdir/ld: /usr/lib/gcc/i586-suse-linux/4.6/../../../libc.a(elf-init.o): in 
function __libc_csu_irel:elf-init.c:94: error: undefined reference to
'__rel_ipl
t_end'
gcctestdir/ld: /usr/lib/gcc/i586-suse-linux/4.6/../../../libc.a(elf-init.o): in 
function __libc_csu_irel:elf-init.c:94: error: undefined reference to
'__rel_ipl
t_start'
gcctestdir/ld: /usr/lib/gcc/i586-suse-linux/4.6/../../../libc.a(elf-init.o): in 
function __libc_csu_irel:../sysdeps/i386/dl-irel.h:36: error: undefined
referenc
e to '__rel_iplt_start'
gcctestdir/ld: /usr/lib/gcc/i586-suse-linux/4.6/../../../libc.a(elf-init.o): in 
function __libc_csu_irel:../sysdeps/i386/dl-irel.h:33: error: undefined
referenc
e to '__rel_iplt_start'
gcctestdir/ld: /usr/lib/gcc/i586-suse-linux/4.6/../../../libc.a(elf-init.o): in 
function __libc_csu_irel:../sysdeps/i386/dl-irel.h:36: error: undefined
referenc
e to '__rel_iplt_start'
collect2: ld returned 1 exit status
make[5]: *** [exception_static_test] Error 1

similar for tls_static_test and tls_static_pic_test.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12388] icf_test.sh and icf_safe_test.sh fail

2011-07-08 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12388

--- Comment #3 from Ian Lance Taylor ian at airs dot com 2011-07-09 05:44:14 
UTC ---
Is this still a problem with current gold?

I don't see why --build-id has anything to do with this.  I'm using a gcc
patched to pass --build-id, and the tests pass for me.

If this still fails for you, please attach your icf_test.o file.  Thanks.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12388] icf_test.sh and icf_safe_test.sh fail

2011-01-11 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12388

Ian Lance Taylor ian at airs dot com changed:

   What|Removed |Added

 CC||ian at airs dot com,
   ||tmsriram at google dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12388] icf_test.sh and icf_safe_test.sh fail

2011-01-11 Thread tmsriram at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12388

--- Comment #1 from Sriraman Tallam tmsriram at google dot com 2011-01-12 
02:04:36 UTC ---
(In reply to comment #0)
 Created attachment 5190 [details]
 testcase
 
 on x86_64-suse-linux I see
 
 FAIL: icf_test.sh
 PASS: icf_keep_unique_test.sh
 FAIL: icf_safe_test.sh
 PASS: icf_safe_so_test.sh
 
 even though the respective functions in icf_test.o seem to be the same
 (attached).

Hi Richard,

  I used this object in my gold build and it works perfectly for me. I guess I
need more details. Could you please attach the following files from the
testsuite dir of your gold BUILD :

icf_test.stdout
Output of sh -x icf_test.sh

Thanks,
-Sri.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils