Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170203 - sys-block/gpart-0.1h-r1 fails to compile with gcc-4.1.2
Summary: sys-block/gpart-0.1h-r1 fails to compile with gcc-4.1.2
Status: RESOLVED DUPLICATE of bug 163800
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 23:46 UTC by Walter Meinl
Modified: 2007-03-10 13:25 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 Walter Meinl 2007-03-09 23:46:05 UTC
After switching to gcc-4.1.2, sys-block-0.1h-r1 fails to compile on x86
gcc -Wall -march=pentium4 -O2 -pipe -fomit-frame-pointer -pedantic -DVERSION=\"0.1h\"   -c -o gm_ext2.o gm_ext2.c
l64seek.c:45:39: error: macro "_llseek" passed 5 arguments, but takes just 3
l64seek.c: In function 'l64seek':
l64seek.c:45: error: '_llseek' undeclared (first use in this function)
l64seek.c:45: error: (Each undeclared identifier is reported only once
l64seek.c:45: error: for each function it appears in.)
make[1]: *** [l64seek.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src'
make: *** [gpart] Error 2

The last earlier compiler I used on this harddrive was 4.0.2, there it worked (just tried to update a 1 system that wasn't updated for 1 year)

Reproducible: Always




Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.19-suspend2-r3 i686)
=================================================================
System uname: 2.6.19-suspend2-r3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 09 Mar 2007 17:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.15
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://merkur.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/lila-theme /usr/portage/local/layman/break-my-gentoo-main /usr/local/portage"
SYNC="rsync://rsync.belnet.be/gentoo-portage"
USE="X aalib acl acpi alsa artswrappersuid asf async avahi beagle berkdb bitmap-fonts bmg browserplugin bzip2 cairo canvas cdparanoia cdr cdrom chipcard chroot cli cracklib crypt cups curl dbus directfb dri dvd dvdread eds emboss epiphany esd exif expat fam fb fbcon fbsplash ffmpeg firefox flac flash font-server foreign-package foreign-sysvinit fortran freetype gb gdbm gif gimp gimpprint glibc-omitfp glitz gmp gnome gnomedb gnutls gphoto2 gpm gtk gtkhtml guile hal hbci howl-compat iconv idn insecure-drivers isdnlog java javascript jpeg lcms libcaca libg++ libgda libnotify logrotate lzw-tiff midi mmx mmx2 mng mono moznocompose moznoirc moznomail mozpango mozsvg mpeg nautilus ncurses nfs nfsv4 nls nptl nptlonly nsplugin odbc opengl oss pam pcmcia pcre pdf perl pic pie png postscript ppds pppd pwdb python quicktime readline real realmedia reflection rtc samba scanner sdl session slang spell spl sqlite sse sse2 ssl svg svga symlink tcl tcltk tcpd tga tiff tk truetype truetype-fonts type1-fonts unicode ups usb userlocales uudeview wifi win32codecs wmf x86 xine xinerama xml xml2 xorg xosd xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon ati fbdev vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-10 04:15:35 UTC
It isn't just gcc 4.1.2, as I'm seeing this on the 2007.0 release.  It looks like the recent patch broke it, since it worked on a previous snapshot and doesn't work now (we remade the snapshot on March 5th).
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2007-03-10 06:27:10 UTC
This compile failure is due to the fix from bug 163800.
Comment 3 SpanKY gentoo-dev 2007-03-10 13:25:25 UTC

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