Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183841 - gnustep-make-2.0.1 from gnustep overlay needs native objective-c exceptions
Summary: gnustep-make-2.0.1 from gnustep overlay needs native objective-c exceptions
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-01 14:53 UTC by Cedric Godin
Modified: 2007-09-10 05:02 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 Cedric Godin 2007-07-01 14:53:36 UTC
While emerging gnustep-make from the overlay, i have the following error

configure: Native objective-c exceptions were requested, but the compiler
configure: doesn't support them.
configure: error: compiler doesn't support native objective-c exceptions



Reproducible: Always

Steps to Reproduce:
1.emerge gnustep-base/gnustep-make

Actual Results:  
configure: Native objective-c exceptions were requested, but the compiler
configure: doesn't support them.
configure: error: compiler doesn't support native objective-c exceptions


Expected Results:  
gnustep-make merged fine

Portage 2.1.2.7 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-ck2 x86_64)
=================================================================
System uname: 2.6.21-ck2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 01 Jul 2007 12:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -frename-registers -fweb -freorder-blocks -freorder-blocks-and-partition -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -Os -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="fr_BE.UTF-8"
LDFLAGS="-Wl,-z,now"
LINGUAS="fr en_US en_GB"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/postgresql-testing /usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise /usr/portage/local/layman/gnustep /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts blender-game bzip2 cdinstall cdparanoia cdr chroot cle266 crypt css cups dbus dedicated dga diskio dts dv dvb dvd dvdnav dvdr dvdread elf emerald encode erandom expat faad fame fbcon ffmpeg fftw firefox flac font-server gcc-libffi gd gif glitz gnustep gphoto2 gpm graphviz gstreamer hal icq imap imlib innodb ipv6 irc ithreads jack java jfs joystick jpeg jpeg2k kcal kde kdeenablefinal konqueror kqemu largeterminal lcms libwww live lm_sensors lzo mad maildir memlimit mikmod mjpeg mng modperl mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer mpm-worker msn musepack musicbrainz ncurses net network nls no-old-linux no_wxgtk1 nptl nptlonly nsplugin ntfs nvidia objc offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdf pdfkit pdflib perl png postgres python qt qt3 quicktime rdesktop readline rtc sasl sblive sdl slang slp sndfile speex spell sql ssl subversion svg theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vdesktop vhosts videos visualization vlm vmmouse vorbis wmf xanim xattr xcomposite xfs xine xinerama xml xml2 xorg xpm xprint xrandr xv xvid xvmc yv12 zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en_US en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

i'll try to rebuild gcc with objc++ to see if that's the problem (if it is, maybe an update in the wiki overlay could help ;-)

if i need to test other things, dont hesitate to ask
Comment 1 Cedric Godin 2007-07-01 20:02:24 UTC
OK, figured what was the problem. There were a old 'libobjc.so.1' in /usr/lib (gcc not well unmerged ?) and of course was linked in the prg. I did remove it and the prg executes right.
Dont know if i may close bug myself so i let it up to you :-D
Comment 2 Fabian Groffen gentoo-dev 2007-07-01 20:05:50 UTC
to me you're allowed to do so, but I have no problem helping you a bit :)
Comment 3 Diego del Rio 2007-09-05 16:44:18 UTC
(In reply to comment #1)
> OK, figured what was the problem. There were a old 'libobjc.so.1' in /usr/lib
> (gcc not well unmerged ?) and of course was linked in the prg. I did remove it
> and the prg executes right.
> Dont know if i may close bug myself so i let it up to you :-D

Cedric, how do you determine whether the libobjc.so is old?
I have these ones:
$ ls -l /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/ | grep libobjc
-rw-r--r-- 1 root root  120400 ago 24 04:38 libobjc.a
-rwxr-xr-x 1 root root     757 ago 24 04:38 libobjc.la
lrwxrwxrwx 1 root root      16 ago 24 04:39 libobjc.so -> libobjc.so.1.0.0
lrwxrwxrwx 1 root root      16 ago 24 04:39 libobjc.so.1 -> libobjc.so.1.0.0
-rwxr-xr-x 1 root root   80724 ago 24 04:38 libobjc.so.1.0.0

What do i have to to to solve the compilation problem of gnustep-make-2.0.1? Do I have to recompile gcc? It's no clear from your post what the solution is.
Here is my output from emerge --info:

Portage 2.1.3.6 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6-r0, 2.6.21-gentoo i686)
=================================================================
System uname: 2.6.21-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 24 Aug 2007 01:30:10 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -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/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ "
LANG="es_AR.UTF-8"
LC_ALL="es_AR.UTF-8"
LINGUAS="en es"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gnustep"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde kerberos ldap mad midi mikmod mmx mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Fabian Groffen gentoo-dev 2007-09-05 16:59:46 UTC
cedric had a libobjc.so in /usr/lib, that was his problem.
Comment 5 Diego del Rio 2007-09-05 20:34:03 UTC
(In reply to comment #4)
> cedric had a libobjc.so in /usr/lib, that was his problem.
> 

Hi Fabian, the problem is that I don't have libobjc.so in /usr/lib neither, but the problem persists.
Comment 6 Cedric Godin 2007-09-06 14:37:22 UTC
Sorry to ask but i don't see objc in your USE flags; is it set ?
what is the result of : gcc -v ?
Comment 7 Diego del Rio 2007-09-06 17:55:32 UTC
Cedric, currently my computer is not available.
As soon as I can I'll post the output of gcc -v, in the meantime I can say that I have gcc-3.4.6, as you can see in the output of emerge --info that I posted a few days ago here.
Regarding the objc USE flag, it's set for the sys-devel/gcc package in /etc/portage/package.use.

(In reply to comment #6)
> Sorry to ask but i don't see objc in your USE flags; is it set ?
> what is the result of : gcc -v ?
> 

Comment 8 Diego del Rio 2007-09-10 05:02:15 UTC
(In reply to comment #7)
> Cedric, currently my computer is not available.
> As soon as I can I'll post the output of gcc -v, in the meantime I can say that
> I have gcc-3.4.6, as you can see in the output of emerge --info that I posted a
> few days ago here.
> Regarding the objc USE flag, it's set for the sys-devel/gcc package in
> /etc/portage/package.use.
> 
> (In reply to comment #6)
> > Sorry to ask but i don't see objc in your USE flags; is it set ?
> > what is the result of : gcc -v ?
> > 
> 

Cedric, this is the output of gcc -v:

Leyendo especificaciones de /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configurado con: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --with-arch=i686 --enable-languages=c,c++,objc,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Modelo de hilos: posix
gcc versión 3.4.6 (Gentoo 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10)