View previous topic :: View next topic |
Author |
Message |
Le Sot Zi n00b
Joined: 06 Feb 2003 Posts: 64 Location: Lille
|
Posted: Mon Mar 14, 2005 10:22 am Post subject: [SOLVED] Can't emerge dev-lang/ocaml-3.08.2... |
|
|
While emerging ocaml-3.08.2, I'm getting this error :
Code: | gcc -O -DNDEBUG -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -march=athlon64 -mtune=athlon64 -pipe -fomit-frame-pointer -fno-stack-protector -o ocamlyacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o
main.o(.text+0x63e): In function `create_file_names':
: warning: the use of `mktemp' is dangerous, better use `mkstemp'
make[1]: Leaving directory `/var/tmp/portage/ocaml-3.08.2/work/ocaml-3.08.2/yacc'
cp yacc/ocamlyacc boot/ocamlyacc
cd stdlib; make COMPILER=../boot/ocamlc all
make[1]: Entering directory `/var/tmp/portage/ocaml-3.08.2/work/ocaml-3.08.2/stdlib'
../boot/ocamlrun ../boot/ocamlc -g -warn-error A -nostdlib `./Compflags pervasives.cmi` -c pervasives.mli
make[1]: *** [pervasives.cmi] Segmentation fault
make[1]: Leaving directory `/var/tmp/portage/ocaml-3.08.2/work/ocaml-3.08.2/stdlib'
make: *** [coldstart] Error 2
!!! ERROR: dev-lang/ocaml-3.08.2 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
My emerge info :
Code: | Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.9
Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 6 2005, 21:57:37)]
dev-lang/python: 2.3.5
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r5
sys-devel/libtool: 1.5.10-r5
virtual/os-headers: 2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon64 -mtune=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon64 -mtune=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://194.117.143.71/mirrors/gentoo ftp://mir.zyrianes.net/gentoo/ ftp://194.117.143.70/mirrors/gentoo ftp://194.117.143.69/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3ds X acpi acpi4linux aim alsa apache2 apm artswrappersuid artworkextra avi bash-completion berkdb bitmap-fonts blender-game bootsplash bzip2 bzlib calendar cdb cdio cdparanoia cdrom cgi chroot crypt css cups curl dba devmap dhcp divx4linux dvd dvdr dvdread emacs emul-linux encode ethereal faad fbcon ffmpeg font-server fortran ftp gd gdbm gif gimp gimpprint gkrellm glut gmail gpm gtk gtk2 hal hardened hardenedphp iconv imap inifile innodb java javadoc javascript jbig jp2 jpeg latex libcaca libclamav libedit libwww lzw lzw-tiff maildir mbox md5sum memlimit mhash mime mimencode mjpeg mp3 mpeg mpeg2 mpeg4 mplayer mpm-leader mpm-peruser mpm-prefork mpm-threadpool mpm-worker msn multi-tty multilib mysql ncurses network nls nptl nvidia ogg opengl openssh oss pam pam-mysql pam_chroot pam_console pam_timestamp pdf pdfkit pear-db perl php pic pie png posix postgres python qemu-fast quotas remote rpc rtc samba session simplexml snmp sockets softmmu spamassassin spell spl ssl stream symlink tcltk tcpd tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vchroot vda vhosts virus-scan vorbis xchatdccserver xchattext xinetd xml2 xmlrpc xosd xpm xrandr xsl xslt xv xvid yahoo zlib linguas_fr"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
|
Can you help me solve this ? Thanks _________________ PLuS oN eSt ² FoUs... pLUs oN ESt fOUs !!!!!!!!
Last edited by Le Sot Zi on Tue Apr 05, 2005 9:30 am; edited 1 time in total |
|
Back to top |
|
|
J.M.I.T. Guru
Joined: 15 Jan 2003 Posts: 481 Location: München, Germany
|
Posted: Mon Mar 14, 2005 4:27 pm Post subject: |
|
|
have you tried less aggressive CFLAGS yet? e.g.
Code: | CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" |
_________________ Get a life...
Use at own risk... |
|
Back to top |
|
|
Le Sot Zi n00b
Joined: 06 Feb 2003 Posts: 64 Location: Lille
|
Posted: Tue Apr 05, 2005 9:27 am Post subject: |
|
|
I tried this CFLAGS and it didn't work better...
BUT https://bugs.gentoo.org/show_bug.cgi?id=73234 helped me I've switched to a vanilla gcc-config et all is OK _________________ PLuS oN eSt ² FoUs... pLUs oN ESt fOUs !!!!!!!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|