Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295505 - hardened gcc-3.4.6 does not compile latest gentoo-sources and vanilla-sources kernel
Summary: hardened gcc-3.4.6 does not compile latest gentoo-sources and vanilla-sources...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
: 295546 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-02 22:52 UTC by Marc Benstein
Modified: 2010-10-28 15:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel config (config,51.76 KB, text/plain)
2009-12-03 20:57 UTC, Marc Benstein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Benstein 2009-12-02 22:52:07 UTC
gcc-3.4.6 from hardened does not compile linux-2.6.31-r6 gentoo-sources or vanilla-sources.

Reproducible: Always

Steps to Reproduce:
Comment 1 Gordon Malm (RETIRED) gentoo-dev 2009-12-03 00:47:41 UTC
emerge --info, build error, kernel config, etc. please.
Comment 2 Marc Benstein 2009-12-03 20:56:43 UTC
(In reply to comment #1)
> emerge --info, build error, kernel config, etc. please.

repo linux # emerge --info
Portage 2.1.6.13 (hardened/linux/x86, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 02 Dec 2009 01:45:02 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb cdr cli cracklib crypt dri hardened iconv modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session spl ssl symlink sysfs tcl tcpd urandom x86 xorg zeroconf 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 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 imstt intel     mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage  siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware  voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

build error

drivers/built-in.o: In function `con_init':
vt.c:(.init.text+0xe90): undefined reference to `.L1440'
make: *** [.tmp_vmlinux1] Error 1

Comment 3 Marc Benstein 2009-12-03 20:57:54 UTC
Created attachment 211907 [details]
kernel config

Note, this exact config compiles just fine with gcc i686-pc-linux-gnu-4.3.4
Comment 4 Sebastian Luther (few) 2009-12-09 12:12:23 UTC
*** Bug 295546 has been marked as a duplicate of this bug. ***
Comment 5 Dan Thorson 2009-12-09 14:48:57 UTC
What additional information can I provide (from duplicate bug 295546)?  I am happy to provide data, but will need guidance on what is needed to identify the missing reference.
Comment 6 Fumitaka Takahashi 2009-12-11 02:09:12 UTC
I found same issue at Linux Kernel Bugzilla.
They are saying "Sounds like a compiller issue".

http://bugzilla.kernel.org/show_bug.cgi?id=14153
Comment 7 Anthony Basile gentoo-dev 2010-08-04 10:48:15 UTC
Another bug 329243 showed similar issues where drivers/pci/intel-iommu.c fails to compile under gcc-3.4.6, but compiles fine under current stable 4.3.4, as well as the next in line for stabilization 4.4.4-r1.  Given that upstream will point to compiler problems, I'm inclined to close this and similar bugs WONTFIX.

Users can 1) upgrade the tool chain and their entire system or 2) use 3.4.6 for userland while using 4.x for kernel.
Comment 8 Magnus Granberg gentoo-dev 2010-10-28 15:21:46 UTC
Reopen if it still fail with gcc-4.4.4-r2