Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487066 - sys-devel/distcc fails to build with hardened gcc 4.7.3
Summary: sys-devel/distcc fails to build with hardened gcc 4.7.3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 480112
  Show dependency tree
 
Reported: 2013-10-06 05:12 UTC by Rick Farina (Zero_Chaos)
Modified: 2013-10-06 05:24 UTC (History)
1 user (show)

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


Attachments
build.log (sys-devel:distcc-3.1-r5:20131006-050725.log,106.59 KB, text/x-log)
2013-10-06 05:12 UTC, Rick Farina (Zero_Chaos)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Farina (Zero_Chaos) gentoo-dev 2013-10-06 05:12:06 UTC
Created attachment 360204 [details]
build.log

works on 4.6.3, fails on 4.7.3
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-10-06 05:24:37 UTC
okay, that is just wierd.

I used

gcc -march=native -E -v - </dev/null 2>&1 | grep cc1

to expand what gcc thinks -march=native means for use with distcc.  I figured this why I have all the benefit of -march=native without the drawbacks of using it with distcc

it expands to: 

CFLAGS="-Os -pipe -frecord-gcc-switches -ggdb -march=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul \
       -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 \
       -msse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 \
       --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx -fno-strict-overflow -fPIE -fstack-protector-all"


really odd that it fails to build with the expanded version of -march=native but not with -march=native itself.

I will call this invalid unless someone else cares.