gpac-0.4.2 does not link when spidermonkey build with -fstack-protector-all and USE="javascript" gcc -Wl,-O1,--as-needed,--sort-common,--enable-new-dtags -Wl,--warn-common -o ../../bin/gcc/MP4Box main.o filedump.o fileimport.o -L../../bin/gcc -lgpac -lz /usr/lib/libjs.so: undefined reference to `__stack_chk_fail_local' collect2: ld returned 1 exit status Portage 2.1.1_pre5-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r5 i686) ================================================================= System uname: 2.6.17-gentoo-r5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHzGentoo Base System version 1.12.4 Last Sync: Mon, 21 Aug 2006 03:20:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 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 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4m -mtune=pentium4m -mfpmath=sse -ftracer -funroll-loops -fprefetch-loop-arrays -fstack-protector-all -maccumulate-outgoing-args -pipe -ggdb3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=pentium4m -mtune=pentium4m -mfpmath=sse -ftracer -funroll-loops -fprefetch-loop-arrays -fstack-protector-all -maccumulate-outgoing-args -pipe -ggdb3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.cs.rose-hulman.edu/linux/gentoo" LDFLAGS="-Wl,-O1,--as-needed,--sort-common,--enable-new-dtags" LINGUAS="en_US" MAKEOPTS="-j" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gentoo.cs.rose-hulman.edu/gentoo-portage" USE="x86 X Xaw3d a52 aac acl acpi afs alsa avi bash-completion berkdb bitmap-fonts bzip2 cdr cjk cli crypt cups dbus dga dlloader dri dts dvd eds elibc_glibc emacs emboss encode esd evo ffmpeg firefox flac foomaticdb gd gdbm gif gnome gpm graphviz gstreamer gtk gtk2 hal idn imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog java javascript jbig jpeg jpeg2k junit kerberos kernel_linux lcms ldap libg++ libwww linguas_en_US mad mikmod mmap mmx mng mono motif mozilla mp3 mpeg ncurses nls nptl nsplugin ogg opengl pam pcmcia pcre pdf pdflib perl png ppds pppd python quicktime readline reflection samba session slp speex spell spl sse ssl svg symlink tcpd test theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vanilla video_cards_radeon vorbis win32codecs wmf xine xml xorg xpm xprint xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
fstack-protector-all is not a supported cflag, don't use it.