Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000569IPFire 3.xUpdatepublic2010-03-10 10:242010-04-30 17:33
Reporterms 
Assigned ToStevee 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionnot fixable 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000569: Binutils 2.20.1 released
Descriptionhttp://freshmeat.net/projects/binutils#release_313324 [^]
TagsNo tags attached.
Attached Files? file icon testsuite-errors [^] (14,024 bytes) 2010-03-16 15:42 [Show Content]
patch file icon binutils-2.20-ipfire-ld-elf-1.patch [^] (709 bytes) 2010-03-17 12:40 [Show Content]

- Relationships

-  Notes
(0001808)
Stevee (developer)
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 (developer)
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 (developer)
2010-03-16 15:43

I added a file with the remaining errors they´re all within the ld-tests
(0001812)
ms (administrator)
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 (developer)
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 (developer)
2010-03-17 12:39

I add a patchfile to disable 3 static tests from ld-elf.
(0001817)
ms (administrator)
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 (developer)
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 (developer)
2010-03-21 14:41

Reopen, because testsuite still doesn´t work
(0001856)
Stevee (developer)
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.


- Issue History
Date Modified Username Field Change
2010-03-10 10:24 ms New Issue
2010-03-15 22:51 Stevee Status new => assigned
2010-03-15 22:51 Stevee Assigned To => ms
2010-03-16 15:36 Stevee Note Added: 0001808
2010-03-16 15:38 Stevee Note Added: 0001809
2010-03-16 15:42 Stevee File Added: testsuite-errors
2010-03-16 15:43 Stevee Note Added: 0001810
2010-03-16 18:07 ms Note Added: 0001812
2010-03-17 12:33 Stevee Note Added: 0001815
2010-03-17 12:39 Stevee Note Added: 0001816
2010-03-17 12:40 Stevee File Added: binutils-2.20-ipfire-ld-elf-1.patch
2010-03-17 19:57 ms Note Added: 0001817
2010-03-17 22:02 Stevee Note Added: 0001818
2010-03-19 15:36 ms Status assigned => resolved
2010-03-19 15:36 ms Resolution open => fixed
2010-03-21 14:41 Stevee Assigned To ms => Stevee
2010-03-21 14:41 Stevee Note Added: 0001845
2010-03-21 14:41 Stevee Status resolved => feedback
2010-03-21 14:41 Stevee Resolution fixed => reopened
2010-03-25 09:11 Stevee Note Added: 0001856
2010-03-26 12:16 Stevee Note Edited: 0001856
2010-03-26 12:17 Stevee Note Edited: 0001856
2010-04-30 17:33 Stevee Status feedback => closed
2010-04-30 17:33 Stevee Resolution reopened => not fixable


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker