Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605500 - media-libs/libwebp-0.5.2 can't compile on a CPU without SSE 4.1
Summary: media-libs/libwebp-0.5.2 can't compile on a CPU without SSE 4.1
Status: RESOLVED DUPLICATE of bug 595526
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-12 18:42 UTC by Laurent Bachelier
Modified: 2017-01-15 01:16 UTC (History)
0 users

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


Attachments
build.log (build.log,196.06 KB, text/x-log)
2017-01-12 18:42 UTC, Laurent Bachelier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Bachelier 2017-01-12 18:42:50 UTC
Created attachment 459806 [details]
build.log

On one of my CPUs (AMD Turion(tm) Neo X2 Dual Core Processor L625) the compiling fails (see attached build.log). It's the only one without a sse4_1 flag in /proc/cpuinfo.

It fails there:
Makefile:1004: recipe for target 'libwebpdsp_sse41_la-enc_sse41.lo' failedmake[2]: *** [libwebpdsp_sse41_la-enc_sse41.lo] Error 1

I added --disable-sse4.1 to the args array in the ebuild and it then compiled fine.

I suppose the ebuild should make use of the CPU_FLAGS_X86 variable.
Comment 1 Mike Gilbert gentoo-dev 2017-01-15 01:16:01 UTC
You have those silly -mno-xxx settings in your CFLAGS. You don't need them, and they interfere with the flags added by the build system.

*** This bug has been marked as a duplicate of bug 595526 ***