Summary: | net-analyzer/ethstatus-0.4.2-r2 calls CC directly, ignores LDFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bertrand Jacquin <bertrand> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bertrand |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | http://bugs.debian.org/394092 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 | ||
Attachments: |
build.log
emerge --info files/ethstatus-BJA-0.4.2-gcc-overridable.diff |
Created attachment 350782 [details]
build.log
Created attachment 350784 [details]
emerge --info
Created attachment 350786 [details, diff]
files/ethstatus-BJA-0.4.2-gcc-overridable.diff
There is an 0.4.3 out too... Working on this. (In reply to Jeroen Roovers from comment #4) > There is an 0.4.3 out too... Working on this. Oh. Didn't see, HOMEPAGE seems outdated. Anyway, thanks to you. Fixed in 0.4.3. Thanks for the report! |
net-analyzer/ethstatus-0.4.2-r2 does not respect CC which is not ideal expcially when you cross compile, this lead to error like : >>> Compiling source in /var/tmp/i586-pc-linux-gnu/portage/net-analyzer/ethstatus-0.4.2-r2/work/ethstatus-0.4.2 ... make -j6 'CFLAGS=-march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer' gcc -march=geode -Os -mmmx -m3dnow -fno-align-jumps -fno-align-functions -fno-align-labels -fno-align-loops -pipe -fomit-frame-pointer -o ethstatus ethstatus.c -L/usr/i586-pc-linux-gnu/lib -L/usr/i586-pc-linux-gnu/usr/lib -lncurses ethstatus.c:1:0: error: CPU you selected does not support x86-64 instruction set ethstatus.c:1:0: error: CPU you selected does not support x86-64 instruction set make: *** [ethstatus] Error 1 Build log attached and emerge --info. Also attached a quiet simple patch proposal. May it be the good time to move to EAPI 5 ? Reproducible: Always Steps to Reproduce: 1. crossdev -t i586-pc-linux-gnu 2. i586-pc-linux-gnu-emerge -vt net-analyzer/ethstatus::gentoo 3.