Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 232749

Summary: sys-apps/net-tools-1.60-r13: does not compile with no -O in CFLAGS
Product: Gentoo Linux Reporter: Benoît Gschwind <doth.gschwind>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Benoît Gschwind 2008-07-23 13:08:10 UTC
net-tools don't compile with no -O option in CFLAGS

last log line : 
pci-config.c:71:2: erreur: #error You must compile this driver with "-O"!

Reproducible: Always

Steps to Reproduce:
1. remove all -O, -O1, -O2, -O3 of your CFLAGS (in /etc/make.conf and your environnement)
2. emerge -1 net-tools

Actual Results:  
net-tools was not compiled

Expected Results:  
net-tools should be compiled
Comment 1 Benoît Gschwind 2008-07-23 13:12:00 UTC
a solution can  be :

CFLAGS="-O -pipe" emerge -1 net-tools

best regards
Comment 2 SpanKY gentoo-dev 2008-08-18 03:13:32 UTC

*** This bug has been marked as a duplicate of bug 208233 ***