Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156696 - net-misc/dhcpcd-3.0.1 silently fails w/ gcc-3.4
Summary: net-misc/dhcpcd-3.0.1 silently fails w/ gcc-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 09:38 UTC by James
Modified: 2006-12-01 17:16 UTC (History)
0 users

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


Attachments
emerge output (emerge.txt,9.47 KB, text/plain)
2006-11-30 09:40 UTC, James
Details
Include asm/types.h for older kernels. (dhcpcd-kernel-2.0.4.patch,346 bytes, patch)
2006-12-01 01:38 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James 2006-11-30 09:38:15 UTC
I really appreciate the work all th coders are doing!  I'm curious, is the newest dhcpcd version written for gcc 4?  All of my machines that are running gcc-4.1.1 compiled it fine, but the one I'm still running 3.4.6-r2 (trying to build an initial system image for my openmosix cluster) on acts like it emerged it fine, but all it did was delete dhcpcd!  Bad news, I got it going by downgrading to 2.0.8-r3.

Thanks in advance!
cctsurf

Portage 2.1.2_rc2-r3 (!/usr/portage/profiles/default-linux/x86/no-nptl/2.4/, gcc-3.4.6, glibc-2.5-r0, 2.4.32-om-migshm i686)
=================================================================
System uname: 2.4.32-om-migshm i686 Celeron (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Thu, 30 Nov 2006 15:31:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.33.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/mnt/nfs_portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/nfs_portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="x86 elibc_glibc gpm input_devices_keyboard input_devices_mouse kernel_linux mmx ncurses pam sse tcpd userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 James 2006-11-30 09:40:08 UTC
Created attachment 103047 [details]
emerge output
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-12-01 01:38:17 UTC
Created attachment 103113 [details, diff]
Include asm/types.h for older kernels.

I think it's a kernel headers issue rather than a gcc issue.
Try this patch as it should now include the needed header for older kernels.
Comment 3 James 2006-12-01 17:16:51 UTC
That allows it to compile, Thanks!  Now I've got to see if I can get it to work on boot, it causes net.eth0 to fail on boot. I think that's similar to bug 156831.