when binutils 2.20 branch is built with gcc-4.4 branch or trunk, I see the
following test failures in the ld testsuite. Checked with gcc-4.4 from
debian/testing, debian/unstable and ubuntu/karmic, and gcc-snapshot (4.5
20091010) from debian/unstable.
Running
/home/doko/tmp/binutils-2.19.91.20091006/ld/testsuite/ld-elfvsb/elfvsb.exp ...
FAIL: visibility (hidden_normal) (non PIC)
FAIL: visibility (hidden_normal) (non PIC, load offset)
FAIL: visibility (normal) (non PIC)
FAIL: visibility (normal) (non PIC, load offset)
Running
/home/doko/tmp/binutils-2.19.91.20091006/ld/testsuite/ld-shared/shared.exp ...
FAIL: shared (non PIC)
FAIL: shared (non PIC, load offset)
FAIL: shared (PIC main, non PIC so)
test failures are:
FAIL: visibility (hidden_normal) (non PIC)
22c22
< main_visibility_checkvar () == 0
---
> main_visibility_checkvar () == 1
FAIL: visibility (hidden_normal) (non PIC, load offset)
22c22
< main_visibility_checkvar () == 0
---
> main_visibility_checkvar () == 1
FAIL: visibility (normal) (non PIC)
22c22
< main_visibility_checkvar () == 0
---
> main_visibility_checkvar () == 1
FAIL: visibility (normal) (non PIC, load offset)
22c22
< main_visibility_checkvar () == 0
---
> main_visibility_checkvar () == 1
Running
/home/doko/tmp/binutils-2.19.91.20091006/ld/testsuite/ld-shared/shared.exp ...
FAIL: shared (non PIC)
5c5
< shlib_overriddenvar () == -1
---
> shlib_overriddenvar () == 2
FAIL: shared (non PIC, load offset)
5c5
< shlib_overriddenvar () == -1
---
> shlib_overriddenvar () == 2
FAIL: shared (PIC main, non PIC so)
5c5
< shlib_overriddenvar () == -1
---
> shlib_overriddenvar () == 2
--
Summary: [4.4/4.5 regression] binutils testsuite failures when
built with 4.4/4.5
Product: gcc
Version: 4.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: doko at ubuntu dot com
GCC target triplet: arm-linux-gnueabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41684