Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126594 - erlang-10.2.7 + glibc-2.4
Summary: erlang-10.2.7 + glibc-2.4
Status: RESOLVED DUPLICATE of bug 122383
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 14:08 UTC by Matteo Azzali (RETIRED)
Modified: 2006-03-31 08:01 UTC (History)
1 user (show)

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


Attachments
The same errors on my box with glibc-2.4 :( (buildlog.txt,145.88 KB, text/plain)
2006-03-20 13:25 UTC, Andrew Pogrebennyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Azzali (RETIRED) gentoo-dev 2006-03-17 14:08:56 UTC
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `sigaction':
hipe_x86_signal.c:(.text+0x10): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x6a): undefined reference to `__next_sigaction'
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `hipe_signal_init':
hipe_x86_signal.c:(.text+0x91): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0xeb): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0xff): undefined reference to `__next_sigaction'
hipe_x86_signal.c:(.text+0x12c): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x17b): undefined reference to `__next_sigaction'
collect2: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/bin/i686-pc-linux-gnu/beam.hybrid] Error 1

emerge info:
Portage 2.1_pre6-r3 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r1, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Sempron(tm) Processor 3100+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.solnet.ch/mirror/Gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X aalib acl acpi acpi4linux alsa apm audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl divx4linux dri dts dvb dvd dvdr dvdread eds emboss encode esd exif expat ffmpeg flac foomaticdb fortran gdbm gif gimp glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal idn imagemagick imlib java joystick jpeg kde lcms libg++ libwww lirc live lm_sensors mad matroska mikmod mmx mmx2 mmxext mng motif mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis ogre opengl oss pam pcre pdflib perl png python qt quicktime readline real scanner sdl spell sse sse-filters sse2 ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs wxgtk1 xcomposite xine xml2 xmms xscreensaver xv xvid xvmc zlib zvbi elibc_glibc input_devices_mouse input_devices_keyboard input_devices_wacom kernel_linux linguas_it userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 1 Pierre Y. 2006-03-18 03:33:23 UTC
Same here :

/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `sigaction':
hipe_x86_signal.c:(.text+0x1c): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x5a): undefined reference to `__next_sigaction'
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `hipe_signal_init':
hipe_x86_signal.c:(.text+0xb0): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x10f): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x11f): undefined reference to `__next_sigaction'
hipe_x86_signal.c:(.text+0x14e): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x178): undefined reference to `__next_sigaction'
collect2: ld a retourn
Comment 2 Pierre Y. 2006-03-18 03:33:23 UTC
Same here :

/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `sigaction':
hipe_x86_signal.c:(.text+0x1c): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x5a): undefined reference to `__next_sigaction'
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_signal.o: In function `hipe_signal_init':
hipe_x86_signal.c:(.text+0xb0): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x10f): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x11f): undefined reference to `__next_sigaction'
hipe_x86_signal.c:(.text+0x14e): undefined reference to `INIT'
hipe_x86_signal.c:(.text+0x178): undefined reference to `__next_sigaction'
collect2: ld a retourné 1 code d'état d'exécution

Is there a way to fix this ?
Comment 3 Jeff Hayes 2006-03-19 19:41:46 UTC
diff to fix the build issue, and why the erlang maintainers didn't fix it already...

http://www.erlang.org/ml-archive/erlang-questions/200601/msg00500.html
Comment 4 Matteo Azzali (RETIRED) gentoo-dev 2006-03-20 02:52:24 UTC
That doesn't solves all the issues: after patching, I get 
=== Entering application parsetools
make[3]: Entering directory `/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/parsetools/src'
erlc -W   +debug_info -I/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/stdlib/include -o../ebin yecc.erl
/var/tmp/portage/erlang-10.2.7/work/otp_src_R10B-7/lib/parsetools/src/../ebin/yecc.bea#: error writing file
make[3]: *** [../ebin/yecc.beam] Error 1

after this a lot of similar errors for .beam files, then emerge stops.
Comment 5 Andrew Pogrebennyk 2006-03-20 13:25:30 UTC
Created attachment 82712 [details]
The same errors on my box with glibc-2.4 :(

Gentoo Base System version 1.12.0_pre16
Portage 2.1_pre6-r5 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r5-ARCH i686)
=================================================================
System uname: 2.6.15-gentoo-r5-ARCH i686 AMD Athlon(TM) XP 1700+
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.kiev.ua/pub/Linux/Gentoo/"
LANG="ru_UA.KOI8-U"
LC_ALL="ru_UA.KOI8-U"
LINGUAS="ru en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org.ua/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 7zip X aac aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 cdparanoia cdr crypt cscope cups dbus directfb doc dri dts dvd dvdread eds emacs emboss encode fam fbcon firefox flac flash foomaticdb fortran ftp gcj gdbm gif gimp gnome gpgme gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal haskell hddtemp iconv icq idea imagemagick imap imlib ipv6 jabber java jikes jpeg jpeg2k kde kdexdeltas kqemu lame libg++ libwww lm_sensors lua mad mikmod mime mmx mmxext mono motif mozilla mp3 mpeg musepack ncurses nls nntp nptl nptlonly nsplugin ntfs objc ogg oggvorbis opengl oss pam passwordsave pdflib perl png posix python qt quicktime readline real reiserfs ruby scanner sdl silc smime sockets socks5 spell sse ssl svg svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb vcd videos vorbis win32codecs wxwindows xml2 xmms xosd xv xvid zlib elibc_glibc kernel_linux linguas_ru linguas_en userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 08:01:34 UTC

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