Summary: | octave-2.1.73 doesn't compile (gcc 4) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bo Ørsted Andresen (RETIRED) <zlin> |
Component: | [OLD] GCC Porting | Assignee: | Luis Medinas (RETIRED) <metalgod> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cbm, ralf, rhill, sci-mathematics, stefan |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: | emerge -uva octave &> emerge_octave.log |
Description
Bo Ørsted Andresen (RETIRED)
2006-06-11 09:13:18 UTC
Created attachment 88919 [details]
emerge -uva octave &> emerge_octave.log
(In reply to comment #0) > MAKEOPTS="-j2" Thanks for your bug report. I suspect that the octave makefile doesn't like parallel builds. Could you please try with MAKEOPTS="-j1" and see if that works. Thanks, Markus (In reply to comment #2) > I suspect that the octave makefile > doesn't like parallel builds. Could you please try with MAKEOPTS="-j1" > and see if that works. You're right. It did work. Thx. :) (In reply to comment #2) > (In reply to comment #0) > > MAKEOPTS="-j2" > > Thanks for your bug report. I suspect that the octave makefile > doesn't like parallel builds. Could you please try with MAKEOPTS="-j1" > and see if that works. I'm on amd64 / gcc 4.1.1 and end up with: octave: /lib/libgcc_s.so.1: version `GCC_4.0.0' not found (required by /usr/lib64/octave-2.1.73/liboctinterp.so) Tryed the make opts, did not change anything. > I'm on amd64 / gcc 4.1.1 and end up with:
>
> octave: /lib/libgcc_s.so.1: version `GCC_4.0.0' not found (required by
> /usr/lib64/octave-2.1.73/liboctinterp.so)
is this during the emerge or afterwards when you try to run it? it looks like a runtime linker error, which you can probably solve by remerging octave. (if this was actually during the emerge, then ignore me. ;)
Cannot confirm. After making a symbolic link from /usr/bin/gfortran to /usr/bin/g77 this octave version compiles without problems. I cannot say the same about 2.1.69, however (stable). Should I file a different bug? If you are using gcc-4.1 you will have to go with octave-2.1.73. The stable version (octave-2.1.69) has not been ported to gcc-4.1 and will only compile with the stable gcc-3.x. Best, Markus octave seems to compile just fine here with MAKEOPTS="-j2", hence I am not quite sure what exactly caused the error reported in comment #1. @ Stefan de Konink: Are your gcc 4.1.1 issues resolved by now? If yes, I'd like to close this bug! Thanks, Markus I needed to link -s /usr/i686-pc-linux-gnu/gcc-bin/4.1.1/i686-pc-linux-gnu-fortran to /usr/i686-pc-linux-gnu/gcc-bin/4.1.1/i686-pc-linux-gnu-g77 in order for Octave to compile. I was unable to get it to compile making a symbolic link from /usr/bin/gfortran to /usr/bin/g77. Note that parallel compiling -j2 worked fine. I don't know what the difference is, but below is my emerge --info Thanks for the info, CCTSURF Gentoo Base System version 1.12.5 Portage 2.1.2_pre1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.93GHz Last Sync: Sun, 17 Sep 2006 22:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.6-r1, 2.0.28-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo / ftp://gentoo.cites.uiuc.edu/pub/gentoo/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-afte r --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="x86 X aac acpi alsa apache2 audiofile berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd ffmpeg foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 hal image magick imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kernel_linux libg++ libwww lirc lirc_devices_ serial lm_sensors mad mikmod mjpeg mmx mmx2 mmxext motif mp3 mpeg mplayer mysql mythtv ncurses nls nptl nptlonly nsplugin n vidia ogg openal opengl oss pam pcre pda pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sdl sessio n sockets spell spl sse sse2 sse3 ssl subtitles szip tcpd threads truetype truetype-fonts type1-fonts udev usb userland_GNU v4l v4l2 vcd video_cards_nvidia video_cards_vesa video_cards_vga vorbis wifi win32codecs xine xml xmms xorg xv xvid xvmc z lib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS Since there has been no more activity here as well as no responses to my query in #8 I assume that all MAKEOPTS and gfortran issues have been ironed out and close this bug. Thanks, Markus (In reply to comment #10) > Since there has been no more activity here as well as no responses to > my query in #8 I assume that all MAKEOPTS and gfortran issues have > been ironed out and close this bug. I haven't seen this bug since comment #3. It compiles for me with -j2 too. |