Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446596 - net-misc/pps-tools invokes `cc` directly if $CC is not set
Summary: net-misc/pps-tools invokes `cc` directly if $CC is not set
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2012-12-09 13:49 UTC by Agostino Sarubbo
Modified: 2012-12-23 23:09 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-12-09 13:49:17 UTC
You receive this bug because this package does not respect my system's CC ( x86_64-pc-linux-gnu-gcc - /usr/bin/x86_64-pc-linux-gnu-gcc ) and calls directly gcc -/usr/bin/gcc
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export CC
3)inherit toolchain-funcs and use emake CC="$(tc-getCC)"

cc -D_GNU_SOURCE -I. -D__N_PPS=18 -march=native -O2 -g0 -pipe -Wall -M ppstest.c ppsctl.c ppswatch.c > .depend
cc -march=native -O2 -g0 -pipe -Wall -D_GNU_SOURCE -I. -D__N_PPS=18  -c -o ppstest.o ppstest.c
cc -march=native -O2 -g0 -pipe -Wall -D_GNU_SOURCE -I. -D__N_PPS=18  -c -o ppsctl.o ppsctl.c
cc -march=native -O2 -g0 -pipe -Wall -D_GNU_SOURCE -I. -D__N_PPS=18  -c -o ppswatch.o ppswatch.c
cc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  ppstest.o   -o ppstest
cc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  ppsctl.o   -o ppsctl
cc -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  ppswatch.o   -o ppswatch
Comment 1 SpanKY gentoo-dev 2012-12-23 23:08:03 UTC
you probably have a bunch of bugs mislabeled like this one
Comment 2 SpanKY gentoo-dev 2012-12-23 23:09:09 UTC
should be all set now in the tree; thanks for the report!

Commit message: Set up CC