MantisBT - IPFire 3.x
View Issue Details
0000569IPFire 3.xUpdatepublic2010-03-10 10:242010-04-30 17:33
ms 
Stevee 
normalminorhave not tried
closednot fixable 
 
 
0000569: Binutils 2.20.1 released
http://freshmeat.net/projects/binutils#release_313324 [^]
No tags attached.
? testsuite-errors (14,024) 2010-03-16 15:42
http://mantis.ipfire.org/file_download.php?file_id=49&type=bug
patch binutils-2.20-ipfire-ld-elf-1.patch (709) 2010-03-17 12:40
http://mantis.ipfire.org/file_download.php?file_id=51&type=bug
Issue History
2010-03-10 10:24msNew Issue
2010-03-15 22:51SteveeStatusnew => assigned
2010-03-15 22:51SteveeAssigned To => ms
2010-03-16 15:36SteveeNote Added: 0001808
2010-03-16 15:38SteveeNote Added: 0001809
2010-03-16 15:42SteveeFile Added: testsuite-errors
2010-03-16 15:43SteveeNote Added: 0001810
2010-03-16 18:07msNote Added: 0001812
2010-03-17 12:33SteveeNote Added: 0001815
2010-03-17 12:39SteveeNote Added: 0001816
2010-03-17 12:40SteveeFile Added: binutils-2.20-ipfire-ld-elf-1.patch
2010-03-17 19:57msNote Added: 0001817
2010-03-17 22:02SteveeNote Added: 0001818
2010-03-19 15:36msStatusassigned => resolved
2010-03-19 15:36msResolutionopen => fixed
2010-03-21 14:41SteveeAssigned Toms => Stevee
2010-03-21 14:41SteveeNote Added: 0001845
2010-03-21 14:41SteveeStatusresolved => feedback
2010-03-21 14:41SteveeResolutionfixed => reopened
2010-03-25 09:11SteveeNote Added: 0001856
2010-03-26 12:16SteveeNote Edited: 0001856
2010-03-26 12:17SteveeNote Edited: 0001856
2010-04-30 17:33SteveeStatusfeedback => closed
2010-04-30 17:33SteveeResolutionreopened => not fixable

Notes
(0001808)
Stevee   
2010-03-16 15:36   
The testsuite of binutils isn´t workig and displays 9 error messages.

I found a patch to fix 3 of them.

http://sourceware.org/ml/binutils/2009-10/msg00396.html [^]
(0001809)
Stevee   
2010-03-16 15:38   
The 6 remainig errors are depending on our secrurity flags with "-fPIC" and to disable all static libraries.

Maybe we can disable these tests in testsuite.
(0001810)
Stevee   
2010-03-16 15:43   
I added a file with the remaining errors they´re all within the ld-tests
(0001812)
ms   
2010-03-16 18:07   
Because of the fact, that we do not need non-PIC binaries at all, we could disable these tests.
(0001815)
Stevee   
2010-03-17 12:33   
I found something interesting in the default config file for those tests:

# The "make check" target in the Makefile passes in
# "CC=$(CC_FOR_TARGET)". But, if the user invokes runtest directly
# (as when testing an installed linker), these flags may not be set.
if {![info exists CC]} {
    set CC [find_gcc]
}
if {![info exists CFLAGS]} {
    set CFLAGS "-g -O2 -"
}
if {![info exists CXX]} {
    set CXX [find_g++]
}
if {![info exists CXXFLAGS]} {
    set CXXFLAGS ""
}

May we can change the default flags to work with our patched / hardened gcc version.
(0001816)
Stevee   
2010-03-17 12:39   
I add a patchfile to disable 3 static tests from ld-elf.
(0001817)
ms   
2010-03-17 19:57   
Comment #1815:
This has no relevance to our issue.

Comment #1816:
Does this fix all of the errors?
(0001818)
Stevee   
2010-03-17 22:02   
No, only the 3 static tests from ld-elf.

In this test a static library / binary should be build and executed.
(0001845)
Stevee   
2010-03-21 14:41   
Reopen, because testsuite still doesn´t work
(0001856)
Stevee   
2010-03-25 09:11   
(edited on: 2010-03-26 12:17)
I´ve found the following on the HLFS Page:

//www.mail-archive.com/hlfs-dev@linuxfromscratch.org/msg02391.html">http://www.mail-archive.com/hlfs-dev@linuxfromscratch.org/msg02391.html [//www.mail-archive.com/hlfs-dev@linuxfromscratch.org/msg02391.html" target="_blank">^]

http://linuxfromscratch.org/pipermail/hlfs-dev/2008-December/004530.html [^]

Maybe that will do the trick, but I didn´t understand the istructions and comments at all.