Summary: | dev-libs/beecrypt-4.1.2-r2 fails to compile assembly files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | [OLD] Library | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pacho, xmw |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
patch to beecrypt-4.1.2-build.patch |
Description
Dennis Schridde
2009-08-21 16:13:24 UTC
Created attachment 201879 [details]
build.log
Created attachment 202234 [details, diff]
patch to beecrypt-4.1.2-build.patch
local myarch=$(get-flag march)
[[ -z ${myarch} ]] && myarch=${CHOST%%-*}
[[ ${myarch} == "athlon64" || ${myarch} == "k8" || ${myarch} == "opteron" || ${myarch} == "athlon-fx" ]] && \
[[ ${CHOST%%-*} != "x86_64" ]] && myarch=${CHOST%%-*}
On x86_64 this part of the ebuild (src_compile) can create --with-arch values, which do not fit the follwing part of configure.ac (and some other locations, where it will also fail):
x86_64 | athlon64 | athlon-fx | em64t | k8)
CPPFLAGS="$CPPFLAGS -DOPTIMIZE_X86_64"
;;
(In my case -march is set to athlon64-sse3, which does obviously not match athlon64, but athlon64*.)
Attached patch to beecrypt-4.1.2-build.patch fixes the issue.
I can confirm tis bug and the patch on my -march=athlon64-sse3, the -march=nocona and -march=amdfam10 had no problem. Is this still valid with 4.2.1? In that case would be nice if you could provide an updated patch :-) Thanks Seems fixed by upstream. |