Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Stack Clash and -fstack-check
Date: Tue, 20 Jun 2017 09:51:51
Message-Id: CAC=wYCHs9XEGt0uHkpq6Oy6quEd1ArJXyxXtomFi_6KdVK0=-A@mail.gmail.com
In Reply to: Re: [gentoo-user] Stack Clash and -fstack-check by Adam Carter
1 Hmm, emerge --info from before and after (with added -fstack-check) looks
2 dodgy
3
4 # tail bind.info
5 =================================================================
6 Package Settings
7 =================================================================
8
9 net-dns/bind-9.11.1_p1::gentoo was built with the following:
10 USE="berkdb caps dlz filter-aaaa ipv6 ssl threads xml zlib -dnstap -doc
11 -fixed-rrset -geoip -gost -gssapi -idn -json -ldap -libressl -lmdb -mysql
12 -nslint -odbc -postgres -python -rpz (-seccomp) (-selinux) -static-libs
13 -urandom" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_4 -python3_5
14 -python3_6"
15 CFLAGS="-O2 -march=amdfam10 -mcx16 -mpopcnt -pipe -msahf -mabm
16 -fomit-frame-pointer -I/usr/include/db5.3"
17 CXXFLAGS="-O2 -march=amdfam10 -mcx16 -mpopcnt -pipe -msahf -mabm
18 -fomit-frame-pointer -I/usr/include/db5.3"
19 LDFLAGS="-Wl,-O1 -Wl,--as-needed -O2 -march=amdfam10 -mcx16 -mpopcnt -pipe
20 -msahf -mabm -fomit-frame-pointer"
21
22 # tail bind.info2
23
24 =================================================================
25 Package Settings
26 =================================================================
27
28 net-dns/bind-9.11.1_p1::gentoo was built with the following:
29 USE="berkdb caps dlz filter-aaaa ipv6 ssl threads xml zlib -dnstap -doc
30 -fixed-rrset -geoip -gost -gssapi -idn -json -ldap -libressl -lmdb -mysql
31 -nslint -odbc -postgres -python -rpz (-seccomp) (-selinux) -static-libs
32 -urandom" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_4 -python3_5
33 -python3_6"
34 CFLAGS="-O2 -march=amdfam10 -mcx16 -mpopcnt -pipe -msahf -mabm
35 -fomit-frame-pointer -fstack-check -I/usr/include/db5.3"
36 CXXFLAGS="-O2 -march=amdfam10 -mcx16 -mpopcnt -pipe -msahf -mabm
37 -fomit-frame-pointer -fstack-check -I/usr/include/db5.3"
38
39 ===> LDFLAGS has been clobbered
40
41
42
43 # tail apache.info
44 =================================================================
45 Package Settings
46 =================================================================
47
48 www-servers/apache-2.4.25::gentoo was built with the following:
49 USE="ssl threads -debug -doc -ldap (-libressl) (-selinux) -static -suexec"
50 ABI_X86="(64)" APACHE2_MODULES="actions alias auth_basic auth_digest
51 authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm
52 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid
53 dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter
54 headers http2 include info log_config logio mime mime_magic negotiation
55 proxy proxy_connect proxy_http rewrite setenvif socache_shmcb speling
56 status unique_id unixd userdir usertrack vhost_alias -access_compat -asis
57 -authn_dbd -authz_dbd -cache_disk -cache_socache -cern_meta -charset_lite
58 -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests
59 -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -macro -proxy_ajp
60 -proxy_balancer -proxy_fcgi -proxy_ftp -proxy_html -proxy_scgi
61 -proxy_wstunnel -ratelimit -remoteip -reqtimeout -slotmem_shm -substitute
62 -version" APACHE2_MPMS="-event -prefork -worker"
63 CFLAGS="-O2 -march=amdfam10 -mcx16 -mpopcnt -pipe -msahf -mabm
64 -fomit-frame-pointer -fPIC"
65 CXXFLAGS="-O2 -march=amdfam10 -mcx16 -mpopcnt -pipe -msahf -mabm
66 -fomit-frame-pointer -fPIC"
67 LDFLAGS="-Wl,-O1 -Wl,--as-needed -O2 -march=amdfam10 -mcx16 -mpopcnt -pipe
68 -msahf -mabm -fomit-frame-pointer -fPIC -Wl,--no-as-needed"
69
70 # tail apache.info2
71 Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL,
72 PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
73 PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
74
75 =================================================================
76 Package Settings
77 =================================================================
78
79 www-servers/apache-2.4.25::gentoo was built with the following:
80 USE="ssl threads -debug -doc -ldap (-libressl) (-selinux) -static -suexec"
81 ABI_X86="(64)" APACHE2_MODULES="actions alias auth_basic auth_digest
82 authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm
83 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid
84 dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter
85 headers http2 include info log_config logio mime mime_magic negotiation
86 proxy proxy_connect proxy_http rewrite setenvif socache_shmcb speling
87 status unique_id unixd userdir usertrack vhost_alias -access_compat -asis
88 -authn_dbd -authz_dbd -cache_disk -cache_socache -cern_meta -charset_lite
89 -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests
90 -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -macro -proxy_ajp
91 -proxy_balancer -proxy_fcgi -proxy_ftp -proxy_html -proxy_scgi
92 -proxy_wstunnel -ratelimit -remoteip -reqtimeout -slotmem_shm -substitute
93 -version" APACHE2_MPMS="-event -prefork -worker"
94 LDFLAGS="-Wl,-O1 -Wl,--as-needed -O2 -march=amdfam10 -mcx16 -mpopcnt -pipe
95 -msahf -mabm -fomit-frame-pointer -fstack-check -Wl,--no-as-needed"
96
97 ====> CFLAGS and CXXFLAGS clobbered
98
99 I assume this behaviour in unintentional....