Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47052 - mgetty 1.1.30: could not emerge (install) - Function src_compile, Line 52, Exitcode 2
Summary: mgetty 1.1.30: could not emerge (install) - Function src_compile, Line 52, Ex...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 02:19 UTC by K. Posern
Modified: 2004-11-07 01:05 UTC (History)
1 user (show)

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 K. Posern 2004-04-07 02:19:56 UTC
emerge mgetty
brings me the following error message:
...
make[1]: Entering directory `/var/tmp/portage/mgetty-1.1.30/work/mgetty-1.1.30/fax'
../sedscript <faxspool.in >faxspool
free(): invalid pointer 0x40365000!
free(): invalid pointer 0x4036c228!
free(): invalid pointer 0x80f8f34!
Inconsistency detected by ld.so: dl-fini.c: 66: _dl_fini: Assertion `i == _rtld_local._dl_nloaded' failed!
make[1]: *** [faxspool] Error 127
make[1]: Leaving directory `/var/tmp/portage/mgetty-1.1.30/work/mgetty-1.1.30/fax'
make: *** [subdirs] Error 2

!!! ERROR: net-dialup/mgetty-1.1.30 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge mgetty
2.
3.

Actual Results:  
see details 

Expected Results:  
(install flawlessly ;-)

Portage 2.0.50-r3 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-rc3-mm4)
=================================================================
System uname: 2.6.5-rc3-mm4 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -pipe -fomit-frame-pointer -O3"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -pipe -fomit-frame-pointer -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://212.219.247.11/sites/www.ibiblio.org/gentoo/
http://212.219.247.12/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acp aim alsa apache2 apm arts audiofile avi berkdb bonobo cdr
crypt cups dga directfb dvd dvdr encode esd ethereal fam fbcon firebird flac
foomaticdb gb gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile
hardened icq imagemagick imap imlib ipv6 jabber jack java jpeg kde kerberos krb4
ladcca lcms libg++ libwww lirc mad maildir mbox memlimit mikmod mmx motif
mozilla mpeg msn mysql nas ncurses nls odbc oggvorbis opengl oscar oss pam
pdflib perl png postgres ppds python qt quicktime readline ruby samba scanner
sdl slang speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype unicode
usb videos wmf x86 xml xml2 xmms xosd xv yahoo zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-07 03:02:30 UTC
try to compile with mcpu=pentium3 instead of march=pentium4
Comment 2 K. Posern 2004-04-08 07:42:10 UTC
Hi.

First: Thnx for the fast answer! :-)

But it still doesn't work...

I changed "/etc/make.conf":
CFLAGS="-mcpu=pentium3 -pipe -fomit-frame-pointer -O3"

I tried again: "emerge mgetty":
...
make[1]: Entering directory `/var/tmp/portage/mgetty-1.1.30/work/mgetty-1.1.30/tools'
../sedscript <cutbl.in >cutbl
free(): invalid pointer 0x40366000!
free(): invalid pointer 0x4036d228!
free(): invalid pointer 0x80f8d44!
Inconsistency detected by ld.so: dl-fini.c: 66: _dl_fini: Assertion `i == _rtld_local._dl_nloaded' failed!
make[1]: *** [cutbl] Error 127
make[1]: Leaving directory `/var/tmp/portage/mgetty-1.1.30/work/mgetty-1.1.30/tools'
make: *** [subdirs] Error 2

!!! ERROR: net-dialup/mgetty-1.1.30 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)

???
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-09-14 13:31:00 UTC
run revdep-rebuild to see if it solves your problem.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2004-11-07 01:05:09 UTC
prolly  glibc or gcc have problems with notoriously unstable CFLAGS -march=pentium4 -O3
closed since we can't do anything about it.