Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265565 - sys-devel/gcc fails with invalid reference to /libgcc_s.1.dylib; invalid install_name found
Summary: sys-devel/gcc fails with invalid reference to /libgcc_s.1.dylib; invalid inst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal with 1 vote (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-09 16:16 UTC by Aaron Wilson
Modified: 2009-06-30 18:56 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 Aaron Wilson 2009-04-09 16:16:26 UTC
I am unable to emerge sys-devel/gcc-4.3.3-r2. I receive QA notices about invalid references to /libgcc_s.1.dylib and an invalid install_name. 

Reproducible: Always

Steps to Reproduce:
1. bootstrap prefixed portage
2. emerge gcc
3.

Actual Results:  
I attempted to emerge gcc-4.3.3-r2 in my prefixed portage on OS X 10.5.6:


These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ] sys-devel/gcc-4.3.3-r2  USE="fortran objc objc++ openmp (-altivec) -bootstrap -build -doc (-fixed-point) (-gcj) -gtk (-hardened) -ip28 -ip32r10k -libffi -mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -nopie (-objc-gc) -test -vanilla" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB


but received the following error:


>>> Completed installing gcc-4.3.3-r2 into /Users/wilson/Library/Gentoo/var/tmp/portage/sys-devel/gcc-4.3.3-r2/image/Users/wilson/Library/Gentoo/

ecompressdir: bzip2 -9 /Users/wilson/Library/Gentoo/usr/share/gcc-data/i686-apple-darwin9/4.3.3/man
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/gcov
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/gtreelang
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/i686-apple-darwin9-c++
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/i686-apple-darwin9-cpp
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/i686-apple-darwin9-g++
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/i686-apple-darwin9-gcc
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/i686-apple-darwin9-gfortran
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/protoize
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.3.3/unprotoize
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple-darwin9/4.3.3/libgfortran.3.dylib
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple-darwin9/4.3.3/libgomp.1.dylib
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple-darwin9/4.3.3/libobjc-gnu.2.dylib
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/lib/gcc/i686-apple-darwin9/4.3.3/libstdc++.6.dylib
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/libexec/gcc/i686-apple-darwin9/4.3.3/cc1
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/libexec/gcc/i686-apple-darwin9/4.3.3/cc1obj
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/libexec/gcc/i686-apple-darwin9/4.3.3/cc1objplus
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/libexec/gcc/i686-apple-darwin9/4.3.3/cc1plus
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/libexec/gcc/i686-apple-darwin9/4.3.3/collect2
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/libexec/gcc/i686-apple-darwin9/4.3.3/f951
* QA Notice: invalid reference to /libgcc_s.1.dylib in /Users/wilson/Library/Gentoo/usr/libexec/gcc/i686-apple-darwin9/4.3.3/tree1
* ERROR: sys-devel/gcc-4.3.3-r2 failed:
*   invalid install_name found, your application or library will crash at runtime
* * Call stack:
*       misc-functions.sh:850: <call install_qa_check>
*       misc-functions.sh:478:                 hasq allow_broken_install_names ${FEATURES} ||                  die "invalid install_name found, your application or library will crash at runtime"
*
* If you need support, post the topmost build error, and the call stack if relevant.
!!! post install failed; exiting.



Portage 2.2.00.13280-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.6.0 i386)
=================================================================
System uname: Darwin-9.6.0-i386-32bit
Timestamp of tree: Thu, 09 Apr 2009 15:22:02 +0000
distcc 2.18.5-Apple.1 powerpc-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p48-r1
dev-lang/python:     2.5.4-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2-r00.1
sys-devel/gcc-config: 1.4.0-r04.6
sys-devel/libtool:   2.2.6a
ACCEPT_KEYWORDS="~x86-macos"
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 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"
ARCH="x86-macos"
AUTOCLEAN="yes"
CBUILD="i686-apple-darwin9"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="i686-apple-darwin9"
CLEAN_DELAY="5"
CLICOLOR="1"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CVS_RSH="ssh"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DEFAULT_PATH="/Users/wilson/Library/Gentoo/usr/bin:/Users/wilson/Library/Gentoo/usr/sbin:/Users/wilson/Library/Gentoo/bin:/Users/wilson/Library/Gentoo/sbin:/Users/wilson/Library/Gentoo/usr/bin:/usr/bin:/bin"
DISTDIR="/Users/wilson/Library/Gentoo/usr/portage/distfiles"
EDITOR="/Users/wilson/Library/Gentoo/bin/nano"
ELIBC="Darwin"
EMERGE_DEFAULT_OPTS="-avt"
EMERGE_WARNING_DELAY="10"
EPREFIX="/Users/wilson/Library/Gentoo"
EROOT="/Users/wilson/Library/Gentoo/"
FEATURES="collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
HISTCONTROL="ignoredups"
HOME="/Users/wilson"
INFOPATH="/Users/wilson/Library/Gentoo/usr/share/info:/Users/wilson/Library/Gentoo/usr/share/gcc-data/i686-apple-darwin9/4.2.1/info"
INPUT_DEVICES="keyboard mouse"
KERNEL="Darwin"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS=""
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en"
LOGNAME="wilson"
LS_COLORS="rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MACOSX_DEPLOYMENT_TARGET="10.5"
MAIL="/var/mail/wilson"
MAKEOPTS="-j3"
MANPATH="/Users/wilson/Library/Gentoo/usr/share/man:/Users/wilson/Library/Gentoo/usr/share/binutils-data/i686-apple-darwin9/3.1.2/man:/Users/wilson/Library/Gentoo/usr/share/gcc-data/i686-apple-darwin9/4.2.1/man:/usr/share/man:/usr/local/share/man:/usr/local/man:/Library/TeX/Distributions/.DefaultTeX/Contents/Man:/usr/X11/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/Users/wilson/Library/Gentoo/usr/local/portage/sci-libs"
OMP_NUM_THREADS="4"
PAGER="/Users/wilson/Library/Gentoo/usr/bin/less"
PATH="/Users/wilson/Library/Gentoo/usr/bin:/Users/wilson/Library/Gentoo/bin:/Users/wilson/Library/Gentoo/opt/bin:/Users/wilson/Library/Gentoo/usr/sbin:/Users/wilson/Library/Gentoo/sbin:/Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/binutils-bin/3.1.2:/Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.2.1:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
PKGDIR="/Users/wilson/Library/Gentoo/usr/portage/packages"
PKG_CONFIG_PATH="/Users/wilson/Library/Gentoo/usr/lib/pkgconfig:/Users/wilson/Library/Gentoo/usr/share/pkgconfig"
PORTAGE_ARCHLIST="x86-openbsd ppc-openbsd x86-winnt x64-solaris x86-freebsd x86-macos x64-openbsd ia64-hpux x86-netbsd amd64-linux x86-linux ia64-linux sparc-solaris x64-freebsd m68k-mint sparc64-solaris ppc-macos x86-interix hppa-hpux mips-irix x86-solaris ppc-aix"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/Users/wilson/Library/Gentoo/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/Users/wilson/Library/Gentoo/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/Users/wilson/Library/Gentoo/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="wilson@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="wilson"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="20"
PORTAGE_GROUP="staff"
PORTAGE_INST_GID="20"
PORTAGE_INST_UID="501"
PORTAGE_PYM_PATH="/Users/wilson/Library/Gentoo/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/Users/wilson/Library/Gentoo/var/tmp"
PORTAGE_USER="wilson"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/Users/wilson/Library/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/wilson/Library/Gentoo/usr/local/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/Users/wilson/Library/Gentoo/usr/local/portage/sci-libs/blas-goto"
RESUMECOMMAND="wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/Users/wilson/Library/Gentoo/opt/bin:/Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/binutils-bin/3.1.2:/Users/wilson/Library/Gentoo/usr/i686-apple-darwin9/gcc-bin/4.2.1"
RPMDIR="/Users/wilson/Library/Gentoo/usr/portage/rpm"
SHELL="/Users/wilson/Library/Gentoo/bin/bash"
SHLVL="1"
SSH_CLIENT="129.138.90.90 47270 22"
SSH_CONNECTION="129.138.90.90 47270 10.0.1.7 22"
SSH_TTY="/dev/ttys002"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
TERM="xterm-color"
USE="aqua bash-completion coreaudio cracklib ipv6 jpeg kpathsea midi mmx mmxext ncurses nls objc objc++ openmp pdf png prefix readline smp sse sse2 ssl svg threads tiff truetype unicode x86-macos zlib" 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 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" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
USER="wilson"
USERLAND="GNU"
USE_EXPAND="APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
_="/Users/wilson/Library/Gentoo/usr/bin/emerge"
Comment 1 Fabian Groffen gentoo-dev 2009-05-15 18:15:10 UTC
problem confirmed, still clueless
Comment 2 Fabian Groffen gentoo-dev 2009-05-15 18:33:55 UTC
seems libgcc_s.1.dylib is generated with a wrong install_name.
Comment 3 Fabian Groffen gentoo-dev 2009-06-30 18:56:18 UTC
I've finally fixed this.

Sorry for the long wait.