Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390199 - cross-mingw32/gcc-4.5.3-r1 fails to link: undefined reference to `___gxx_personality_sj0'
Summary: cross-mingw32/gcc-4.5.3-r1 fails to link: undefined reference to `___gxx_pers...
Status: RESOLVED DUPLICATE of bug 384251
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 16:23 UTC by Alin Năstac (RETIRED)
Modified: 2011-12-11 06:19 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 Alin Năstac (RETIRED) gentoo-dev 2011-11-11 16:23:18 UTC
emerge dev-util/nsis-2.46 fails when using mingw32-4.5.3 due to this error:

cd /var/tmp/portage/dev-util/nsis-2.46/work/nsis-2.46-src
mingw32-g++  -o build/release/Makensisw/makensisw.exe -mwindows -Wl,--file-alignment,512 -Wl,-e_WinMain@16 build/release/Makensisw/makensisw.o build/release/Makensisw/noclib.o build/release/Makensisw/toolbar.o build/release/Makensisw/utils.o build/release/Makensisw/version.o build/release/Makensisw/update.o build/release/Makensisw/jnetlib/asyncdns.o build/release/Makensisw/jnetlib/connection.o build/release/Makensisw/jnetlib/httpget.o build/release/Makensisw/jnetlib/util.o build/release/Makensisw/resource-rc.o -lkernel32 -ladvapi32 -luser32 -lgdi32 -lshell32 -lcomdlg32 -lcomctl32 -lwsock32 -xc++
build/release/Makensisw/update.o:update.cpp:(.text+0x9): undefined reference to `___gxx_personality_sj0'
build/release/Makensisw/update.o:update.cpp:(.text+0x217): undefined reference to `___gxx_personality_sj0'
build/release/Makensisw/jnetlib/connection.o:connection.cpp:(.text+0x9): undefined reference to `___gxx_personality_sj0'
build/release/Makensisw/jnetlib/httpget.o:httpget.cpp:(.text+0x670): undefined reference to `___gxx_personality_sj0'


emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-gentoo-2.0.3
Timestamp of tree: Unknown
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-static
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.tiscali.nl/pub/mirror/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US en_GB ro ro_RO"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/mrness/gentoo-x86"
PORTDIR_OVERLAY="/usr/portage/local/static"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib acl acpi alsa amd64 amrnb amrwb audacious berkdb bluetooth branding bzip2 cairo cdda cdr clamav cli consolekit cpudetection cracklib crypt cscope cups curl curlwrappers cvs cvsgraph cxx dbus divx dri dts dvd dvdr emboss encode exif expat extras fam ffmpeg fftw firefox flac fontconfig fortran gdbm gdu geoip gif gmp gphoto2 gpm gps graphviz gtk iconv icq idea imagemagick imap imlib ipv6 java javamail javascript jpeg jpeg2k lame lcd lcms ldap libcaca libnotify live lzo lzw mad maildir mcal memlimit mhash mime mjpeg mmap mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mpi msn mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nsplugin obex offensive ogg openal opengl openmp pam pango pcre pdf perl png policykit posix ppds pppd qt3support qt4 rdesktop readline realmedia recode rtc ruby samba sdl session slang slp smime snmp speex spell sqlite3 sse sse2 ssl ssse3 startup-notification subtitles subversion svg sysfs tcl tcpd theora threads tiff tk truetype udev unicode usb vorbis wma wmf wmp wxwindows x264 xcb xine xml xmlrpc xorg xosd xpm xsl xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB ro ro_RO" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


It works if I switch to mingw32-4.4.4. See bug #384251 for more info.
Comment 1 SpanKY gentoo-dev 2011-12-11 06:19:31 UTC

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