Red Hat Bugzilla – Bug 118183
binutils assertion hit on ppc64
Last modified: 2007-11-30 17:10:38 EST
Rebuilding the 'parted' package on ppc64 fails. gcc complains a bunch,
and then we see lines such as:
/usr/bin/ld: BFD 22.214.171.124.8 20040114 assertion fail
See ~sopwith/rebuild/logs/parted*ppc64*.log for the whole spiel.
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...