Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646910

Summary: sys-cluster/openmpi-2.1.2 mangles CFLAGS - .../work/openmpi-2.1.2-abi_x86_32.x86/config.log: x86_64-pc-linux-gnu-gcc: error: l1-cache-line-size=64: No such file or directory
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: CONFIRMED ---    
Severity: normal CC: cluster
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=387161
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log
openmpi-uniq.patch
openmpi-2.1.2.ebuild-uniq.patch

Description Jeroen Roovers (RETIRED) gentoo-dev 2018-02-07 17:26:31 UTC
Created attachment 518368 [details]
config.log

configure:16648: x86_64-pc-linux-gnu-gcc -m32 -o conftest -DNDEBUG -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=amdfam10 -mmmx -m3dnow -msse -mss
e2 -msse3 -msse4a -mcx16 -msahf -mpopcnt -mabm -mlzcnt -mprfchw -mfxsr --param l1-cache-size=64 l1-cache-line-size=64 l2-cache-size=512 -mtune=amdfam10 -Wno-co
mment -finline-functions -fno-strict-aliasing  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c  >&5
x86_64-pc-linux-gnu-gcc: error: l1-cache-line-size=64: No such file or directory
x86_64-pc-linux-gnu-gcc: error: l2-cache-size=512: No such file or directory
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-07 17:27:52 UTC
2.1.0 supposedly fixed the --param problem, but 2.1.2 still has it. 3.0.0 handles weird CFLAGS fine, however.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-11 13:47:30 UTC
Created attachment 519054 [details, diff]
openmpi-uniq.patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-11 13:48:58 UTC
(In reply to Jeroen Roovers from comment #2)
> Created attachment 519054 [details, diff] [details, diff]
> openmpi-uniq.patch

Requires eautoreconf.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-11 14:09:47 UTC
Created attachment 519058 [details, diff]
openmpi-2.1.2.ebuild-uniq.patch