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

Bug 71031

Summary: dhcpd-3.0.1 compile error with gcc-3.3.4-r1
Product: Gentoo Linux Reporter: Rodolfo Schulz de Lima <rodolfo>
Component: [OLD] ServerAssignee: Max Kalika (RETIRED) <max>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rodolfo Schulz de Lima 2004-11-12 21:06:46 UTC
dhcpd-3.0.1 doesn't compile with gcc-3.3.4-r1 (x86's most recent and tested version). It seems that this version of gcc doesn't like when we specify an __attribute__((mode _byte__)) (I forgot the exact syntax) to an enum. It coughs on includes/dhcpd.h.

I just changed the enum type of the variable in question to an unsigned char and it compiled fine, but this is ugly and not recommended...

Reproducible: Always
Steps to Reproduce:
1.try to compile dhcpd with gcc-3.3.4-r1
2.
3.

Actual Results:  
compile error

Expected Results:  
successfull compile
Comment 1 Peter Beutner 2004-12-04 02:16:03 UTC
hmm maybe you could post your 'emerge info' and the exact error message?
Because it compiles just fine here with gcc [version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)] ...

PS.: Am i right that you mean that package: net-misc/dhcp-3.0.1?
Comment 2 Max Kalika (RETIRED) gentoo-dev 2004-12-13 22:00:29 UTC
Is this still a problem?  I can't reproduce this at all.  A little bit of output (as per bug submitting guide) would be handy.
Comment 3 Max Kalika (RETIRED) gentoo-dev 2004-12-20 10:53:27 UTC
Since there are no further reports and I can't reproduce this, I'm closing.