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

Bug 431606

Summary: www-client/chromium-22.0.1229.2-r1 - x86_64-pc-linux-gnu-g++: error: ../printing/l1-cache-line-size=64: No such file or directory
Product: Gentoo Linux Reporter: Andrew Aladjev <aladjev.andrew>
Component: New packagesAssignee: Chromium Project <chromium>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=396133
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log.tar.xz

Description Andrew Aladjev 2012-08-16 08:41:38 UTC
cflags have params (processor is amd e-350):
--param l1-cache-size=32
--param l1-cache-line-size=64
--param l2-cache-size=512

www-client/chromium-22.0.1229.2-r1 ebuild morph cflags:
--param l2-cache-size=512 => --param ../printing/l2-cache-size=512

final linking will fail with message "x86_64-pc-linux-gnu-g++: error: ../printing/l2-cache-size=512: No such file or directory"

Reproducible: Always

Steps to Reproduce:
0. include "--param l2-cache-size=512"
1. start emerge of www-client/chromium-22.0.1229.2-r1
2. wait untill message ">>> Source configured." appears
3. see for example /var/tmp/portage/www-client/chromium-22.0.1229.2-r1/work/chromium-22.0.1229.2/chrome/ipclist.target.mk
4. you will see:
LIBS := \
         \
        -lX11 -lXcursor \
        -lrt \
        ...
        ../printing/l2-cache-size=512 \
        ...
Actual Results:  
final linking will fail with message "x86_64-pc-linux-gnu-g++: error: ../printing/l2-cache-size=512: No such file or directory"
Comment 1 Andrew Aladjev 2012-08-16 08:44:54 UTC
Created attachment 321468 [details]
emerge --info
Comment 2 Andrew Aladjev 2012-08-16 08:48:33 UTC
Created attachment 321470 [details]
build.log.tar.xz
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-16 14:16:38 UTC
Comment on attachment 321470 [details]
build.log.tar.xz

Please do not put a single file in a tar archive.
Comment 4 Mike Gilbert gentoo-dev 2012-08-16 15:17:50 UTC
This looks like bug 396133.
Comment 5 DJ Dunn 2012-08-16 18:17:12 UTC
yeah it does.  the big problem with this sort of bug is not about unsafe cflags but because gcc -march=native can include those problem flags but the correct, -march=amdfam10 in my case, does not include those flags
Comment 6 Mike Gilbert gentoo-dev 2012-08-17 02:20:36 UTC

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