Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137509 - dev-dotnet/pnet-0.7.0 fails to compile against gcc-4.1
Summary: dev-dotnet/pnet-0.7.0 fails to compile against gcc-4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-21 12:49 UTC by Peter
Modified: 2006-08-05 19:37 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 Peter 2006-06-21 12:49:58 UTC
/bin/sh ./libtool --mode=link x86_64-pc-linux-gnu-gcc -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall  -o libgc.la -rpath /usr/lib64/pnet -version-info 1:2:0 allchblk.lo alloc.lo blacklst.lo checksums.lo dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo aix_irix_threads.lo malloc.lo mallocx.lo mark.lo mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo backgraph.lo win32_threads.lo pthread_support.lo pthread_stop_world.lo darwin_stop_world.lo  mach_dep.lo -lpthread  
rm -fr .libs/libgc.la .libs/libgc.* .libs/libgc.*
x86_64-pc-linux-gnu-gcc -shared  allchblk.lo alloc.lo blacklst.lo checksums.lo dbg_mlc.lo dyn_load.lo finalize.lo gc_dlopen.lo gcj_mlc.lo headers.lo aix_irix_threads.lo malloc.lo mallocx.lo mark.lo mark_rts.lo misc.lo new_hblk.lo obj_map.lo os_dep.lo pcr_interface.lo ptr_chck.lo real_malloc.lo reclaim.lo solaris_pthreads.lo solaris_threads.lo specific.lo stubborn.lo typd_mlc.lo backgraph.lo win32_threads.lo pthread_support.lo pthread_stop_world.lo darwin_stop_world.lo mach_dep.lo  -lpthread  -Wl,-soname -Wl,libgc.so.1 -o .libs/libgc.so.1.0.2
(cd .libs && rm -f libgc.so.1 && ln -s libgc.so.1.0.2 libgc.so.1)
(cd .libs && rm -f libgc.so && ln -s libgc.so.1.0.2 libgc.so)
x86_64-pc-linux-gnu-ar cru .libs/libgc.a  allchblk.o alloc.o blacklst.o checksums.o dbg_mlc.o dyn_load.o finalize.o gc_dlopen.o gcj_mlc.o headers.o aix_irix_threads.o malloc.o mallocx.o mark.o mark_rts.o misc.o new_hblk.o obj_map.o os_dep.o pcr_interface.o ptr_chck.o real_malloc.o reclaim.o solaris_pthreads.o solaris_threads.o specific.o stubborn.o typd_mlc.o backgraph.o win32_threads.o pthread_support.o pthread_stop_world.o darwin_stop_world.o mach_dep.o 
x86_64-pc-linux-gnu-ranlib .libs/libgc.a
creating libgc.la
(cd .libs && rm -f libgc.la && ln -s ../libgc.la libgc.la)
make[3]: Leaving directory `/var/tmp/portage/pnet-0.7.0/work/pnet-0.7.0/libgc'
make[2]: Leaving directory `/var/tmp/portage/pnet-0.7.0/work/pnet-0.7.0/libgc'
make[1]: Leaving directory `/var/tmp/portage/pnet-0.7.0/work/pnet-0.7.0'
make: *** [all-recursive] Error 1

!!! ERROR: dev-dotnet/pnet-0.7.0 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  pnet-0.7.0.ebuild, line 28:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

# emerge --info
Portage 2.1.1_pre1-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo/ http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acl acpi aim alsa aotuv audiofile automount bash-completion bdf berkdb bitmap-fonts bittorrent bonobo browserplugin buttons bzip2 cddb cdparanoia cdrom chroot clamav cli cpudetection crypt css cups curl curlwrappers dba disableslit dlloader dri dts dv dvd dvdr dvdread ecc edl eds emboss emul-linux-x86 encode extrafilters fam fame fbcon ffmpeg firefox flac flash font-server fontconfig foomaticdb fortran fpx ftp gaim gcj gdbm gif gimp gimpprint glitz gnome gpm gstreamer gtk gtk2 gtkhtml hbci icq id3 idea idn ieee1394 imagemagick imap imlib insecure-savers irc ithreads jabber java java-external javascript jce jit joystick jpeg jpeg2k kde kerberos krb4 lcms libclamav live logitech-mouse lzo lzw mad matroska matrox md5sum mjpeg mng moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mplayer msn musepack ncurses network nls nolvm1 nomac nptl nptlonly nsplugin nvidia oav objc offensive ofx ogg oggvorbis on-the-fly-crypt openexr opengl pam pccts pcre pda perl png portaudio ppds pppd python qt quicktime quotes readline reflection rtc samba sdl sensord server session sftplogging shorten silc skey sndfile spell spl ssl svg svgz syslog tcltk tcpd tga theora threads tiff toolbar truetype truetype-fonts type1 type1-fonts usb v4l v4l2 vcd vim vim-with-x vnc vorbis winbind wmf xanim xinerama xinetd xml xml2 xmlrpc xmms xorg xpm xprint xscreensaver xv xvid yahoo zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

I am able to manually compile pnet with the madcow script included in the source. Loosening CFLAGS does not resolve the error.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-21 13:32:31 UTC
There are no errors visible, try again w/ MAKEOPTS="-j1" and post the errors here.
Comment 2 Peter 2006-06-21 13:44:28 UTC
# MAKEOPTS="-j1" emerge pnet

make[4]: Entering directory `/var/tmp/portage/pnet-0.7.0/work/pnet-0.7.0/libffi'
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src   -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c -o src/debug.lo src/debug.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c src/debug.c -o src/debug.o
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src   -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c -o src/prep_cif.lo src/prep_cif.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c src/prep_cif.c -o src/prep_cif.o
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src   -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c -o src/types.lo src/types.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c src/types.c -o src/types.o
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src   -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c -o src/raw_api.lo src/raw_api.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c src/raw_api.c -o src/raw_api.o
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src   -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c -o src/java_raw_api.lo src/java_raw_api.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c src/java_raw_api.c -o src/java_raw_api.o
src/java_raw_api.c: In function 'ffi_java_raw_size':
src/java_raw_api.c:60: warning: implicit declaration of function 'abort'
src/java_raw_api.c:60: warning: incompatible implicit declaration of built-in function 'abort'
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src   -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c -o src/x86/ffi64.lo src/x86/ffi64.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.././libffi -I. -I.././libffi/include -Iinclude -I.././libffi/src -fexceptions -march=athlon64 -O2 -fweb -frename-registers -ftracer -pipe -Wall -c src/x86/ffi64.c -o src/x86/ffi64.o
src/x86/ffi64.c: In function 'ffi_prep_args':
src/x86/ffi64.c:291: error: invalid lvalue in assignment
make[4]: *** [src/x86/ffi64.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/pnet-0.7.0/work/pnet-0.7.0/libffi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/pnet-0.7.0/work/pnet-0.7.0/libffi'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/pnet-0.7.0/work/pnet-0.7.0/libffi'
make[1]: *** [libffi-all-local] Error 2
make[1]: Leaving directory `/var/tmp/portage/pnet-0.7.0/work/pnet-0.7.0'
make: *** [all-recursive] Error 1

!!! ERROR: dev-dotnet/pnet-0.7.0 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  pnet-0.7.0.ebuild, line 28:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 Peter 2006-06-21 14:00:52 UTC
and it is reproducable, even with relaxed CFLAGS.
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2006-06-22 12:22:06 UTC
it's a syntax error, so this is probably not amd64-related. please readd us if i'm wrong
Comment 5 Peter 2006-06-23 07:51:55 UTC
If it's a syntax error it's occuring in the x86_64 definition of the source... that makes it an amd64 related issue, no?
Comment 6 Peter 2006-07-01 16:12:20 UTC
I switched to gcc-3.4 temporarily for testing and was able to successfuly build pnet-0.7.0 so this pacakge needs a gcc-4 patch of some sort.
Comment 7 Thomas Cort (RETIRED) gentoo-dev 2006-08-05 19:37:10 UTC
dev-dotnet/pnet-0.7.4 is now in the tree and compiles with gcc-4.1.1 on amd64.