Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431606 - 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
Summary: www-client/chromium-22.0.1229.2-r1 - x86_64-pc-linux-gnu-g++: error: ../print...
Status: RESOLVED DUPLICATE of bug 396133
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-16 08:41 UTC by Andrew Aladjev
Modified: 2012-08-17 02:20 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info,5.93 KB, text/plain)
2012-08-16 08:44 UTC, Andrew Aladjev
Details
build.log.tar.xz (build.log.tar.xz,250.50 KB, application/x-xz)
2012-08-16 08:48 UTC, Andrew Aladjev
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***