Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 310569

Summary: sys-boot/silo fails to compile with sys-libs/glibc-2.11
Product: Gentoo Linux Reporter: Raúl Porcel (RETIRED) <armin76>
Component: New packagesAssignee: Sparc Porters <sparc>
Status: RESOLVED FIXED    
Severity: normal CC: toolchain
Priority: High    
Version: unspecified   
Hardware: Sparc64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 302971    
Attachments: build.log

Description Raúl Porcel (RETIRED) gentoo-dev 2010-03-21 16:13:16 UTC
C=0x280000 -DLARGE_RELOC=0x380000 -fno-stack-protector -c mark.S -o mark.o
ld -m elf32_sparc -N -Ttext 0x280000 -Bstatic -o second crt0.o decomp.o ../common/console.o ../common/printf.o malloc.o ../common/jmp.o ../common/prom.o ../common/tree.o ../common/urem.o ../common/udiv.o ../common/stringops1.o ../common/ffs.o ../common/divdi3.o ../common/udivdi3.o bmark.o main.o cmdline.o disk.o file.o misc.o cfg.o strtol.o ranges.o timer.o memory.o fs/libfs.a mul.o ../common/rem.o ../common/sdiv.o umul.o ../common/stringops2.o ls.o muldi3.o -lext2fs mark.o `sparc-unknown-linux-gnu-gcc -print-libgcc-file-name`
decomp.o: In function `error':
decomp.c:(.text+0x594): undefined reference to `__longjmp_chk'
file.o: In function `unget_gzip_input':
file.c:(.text+0x40): undefined reference to `__longjmp_chk'
file.o: In function `get_gzip_input':
file.c:(.text+0x1ac): undefined reference to `__longjmp_chk'
cfg.o: In function `cfg_error':
cfg.c:(.text+0x448): undefined reference to `__longjmp_chk'
make[1]: *** [second] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-boot/silo-1.4.14/work/silo-1.4.14/second'
make: *** [all] Error 1

Portage 2.1.8.3 (default/linux/sparc/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r7 sparc64)
=================================================================
System uname: Linux-2.6.31-gentoo-r7-sparc64-sun4v-with-gentoo-2.0.1
Timestamp of tree: Sun, 21 Mar 2010 03:00:01 +0000
app-shells/bash:     4.1_p2
dev-lang/python:     2.6.4-r1, 3.1.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="sparc ~sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc/dispatch-conf.conf /etc/make.conf /etc/portage"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg cleanpkgdir distclean distlocks fixpackages genpkgindex news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.osuosl.org/pub/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j33"
PKGDIR="/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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://raptor.gentoo.org/gentoo-portage"
USE="acl berkdb bindist bzip2 cli cracklib crypt cups cxx dlloader dri fortran gcc64 gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session sparc spl ssl sysfs tcpd unicode xorg zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Build log will follow...
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2010-03-21 16:13:40 UTC
Created attachment 224551 [details]
build.log
Comment 2 SpanKY gentoo-dev 2010-03-21 16:54:20 UTC
just use: append-cppflags -U_FORTIFY_SOURCE
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2010-03-21 18:02:45 UTC
Fixed, thanks!