Bug 118183 - binutils assertion hit on ppc64
binutils assertion hit on ppc64
Product: Fedora
Classification: Fedora
Component: binutils (Show other bugs)
powerpc Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2004-03-12 16:46 EST by Elliot Lee
Modified: 2007-11-30 17:10 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-03-15 13:20:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Elliot Lee 2004-03-12 16:46:09 EST
Rebuilding the 'parted' package on ppc64 fails. gcc complains a bunch,
and then we see lines such as:

/usr/bin/ld: BFD 20040114 assertion fail

See ~sopwith/rebuild/logs/parted*ppc64*.log for the whole spiel.
Comment 1 Jakub Jelinek 2004-03-15 12:34:55 EST
This is primarily bug on parted's part.  -Wl,-static is terribly wrong
and so is -Wl,-lc.  Instead of -Wl,-static it should pass -static
to the compiler, gcc links things different for -static and !-static.
If -Wl,-static is used, this is hidden to the compiler driver and bad
things happen.  And why that -Wl,-lc in there?  gcc driver puts -lc
by default at the right place on the link line...
Comment 2 Elliot Lee 2004-03-15 13:20:46 EST
Fixing, thanks.

Note You need to log in before you can comment on or make changes to this bug.