Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408523 - =net-misc/asterisk-1.8.10.1 calls gcc directly
Summary: =net-misc/asterisk-1.8.10.1 calls gcc directly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2012-03-16 21:26 UTC by Maurizio Camisaschi (amd64 AT)
Modified: 2012-06-21 10:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio Camisaschi (amd64 AT) 2012-03-16 21:26:17 UTC
make[1]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.8.10.1/work/asterisk-1.8.10.1/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc -g -c -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
Generating input for menuselect ...
make[2]: Entering directory `/var/tmp/portage/net-misc/asterisk-1.8.10.1/work/asterisk-1.8.10.1/menuselect/mxml'
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-attr.c
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-entity.c
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-file.c
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-index.c
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-node.c
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-search.c
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-set.c
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-private.c
gcc -Os -g -Wall -march=amdfam10 -O2 -pipe -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx  -c mxml-string.c
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2012-03-30 13:44:48 UTC
I'm not convinced that these end up on disk (this is the compilation of menuselect, which is only used to apply configuration options). In fact, this is probably the right thing to do when crosscompiling...
Comment 2 Jaco Kroon 2012-03-30 14:17:16 UTC
Tony is correct, the binaries for menuselect are used by the asterisk build (configuration) system which runs on the build host.  So if CHOST is honored here the build system would fail being unable to configure asterisk.  The alternative is to patch here to use CBUILD as prefix for gcc, but honestly - I suspect that that is overkill.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2012-06-21 10:53:56 UTC
Based on the second opinion posted by Jaco Kroon, I am resolving this bug report. If you would like me to use CBUILD explicitly, and can show me the relevant tc-getCC equivalents, please reopen the report with a relevant explanation or patch.