Summary: | perl-core/Digest-SHA-5.820.0 fails to link. - i386:x86-64 architecture of input file `SHA.o' is incompatible with i386 output | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ewomer <ewomer> |
Component: | [OLD] Core system | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | binki, esigra, tommy |
Priority: | Normal | ||
Version: | 10.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 261375 | ||
Bug Blocks: | 306835 | ||
Attachments: |
emerge --info
Digest-SHA-5.txt |
Description
ewomer
2013-02-24 00:55:24 UTC
Created attachment 339888 [details]
emerge --info
Created attachment 339890 [details]
Digest-SHA-5.txt
caused by ebuild not respecting CFLAGS after 5.80: 5.80 Mon Dec 10 14:15:26 MST 2012 - obtained noticeable speedup on Intel/gcc -- by setting -O1 and -fomit-frame-pointer -- SHA-1 about 63% faster, SHA-2 improves 11-20% Relevant bits from Makefile.PL: if ($Config{archname} =~ /^i[3456]86/ && $Config{ccname} eq 'gcc') { push(@extra, OPTIMIZE => '-O1 -fomit-frame-pointer'); } This only causes problems on systems that have multilib-portage, please make this block bug 306835 Applying attachment 283109 [details, diff] from bug 261375 fixes this bug on multilib-portage for me. Added to multilib-portage overlay in the meantime until this can be fixed in gentoo-x86: http://git.overlays.gentoo.org/gitweb/?p=proj/multilib-portage.git;a=commitdiff;h=f4e6c0050e5b89e92f9cc63805fb4b2703ad3f19 I recently bumped into this again with 5.850.0, and having forgotten about the fix, I worked around it another way. I added this in a local copy of the ebuild: src_configure() { export CCFLAGS="${CXXFLAGS}" } *** This bug has been marked as a duplicate of bug 506818 *** |