Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174906 - [gcc] 4.1.1 emits assembler relocations binutils < 2.17 doesn't understand
Summary: [gcc] 4.1.1 emits assembler relocations binutils < 2.17 doesn't understand
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-17 12:58 UTC by Clemens Fruhwirth
Modified: 2007-05-19 03:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Fruhwirth 2007-04-17 12:58:27 UTC
Compiling the darcs branch of ghc (which uses gcc very roughly) triggers gcc 4.1.1 into generating relocations that binutils is unable to digest properly on x86_64.
"Error: can not do 8 byte pc-relative relocation".

binutils 2.17 seems to include patches for that on x86_64. my suggestion is to make gcc 4.1.1 require binutils-2.17*
Comment 1 SpanKY gentoo-dev 2007-04-17 14:32:21 UTC
did you build gcc with binutils-2.17 active or some older versions ?  if so, this is expected behavior ... whatever version of binutils you had active when gcc was compiled is generally the min safe version as gcc detects assembler/linker capabilities at build time and enables any features it finds

otherwise, there's nothing i can really do here without some sort of very reduced testcase for me to work with