Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71031 - dhcpd-3.0.1 compile error with gcc-3.3.4-r1
Summary: dhcpd-3.0.1 compile error with gcc-3.3.4-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-12 21:06 UTC by Rodolfo Schulz de Lima
Modified: 2004-12-20 10:53 UTC (History)
0 users

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 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.