Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167737 - sys-apps/hal-0.5.7.1-r5 fails to build with gcc 4.1.2 (on amd64)
Summary: sys-apps/hal-0.5.7.1-r5 fails to build with gcc 4.1.2 (on amd64)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-20 11:52 UTC by Dawid Stawiarski
Modified: 2007-02-20 14:02 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 Dawid Stawiarski 2007-02-20 11:52:27 UTC
as in summary: hal fails to build... (i don't actually know if it's arch specific).
[ebuild     U ] sys-apps/hal-0.5.7.1-r5 [0.5.7.1-r4] USE="acpi crypt -debug -dmi -doc -pcmcia (-selinux)"

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:hald_dbus.o: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:hald_dbus.o:1: syntax error
collect2: ld returned 1 exit status

localhost ~ # emerge --info
Portage 2.1.2-r10 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.20-r1 x86_64)
=================================================================
System uname: 2.6.20-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.9
Timestamp of tree: Tue, 20 Feb 2007 08:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -mtune=k8 -march=k8 -ftracer -fstack-protector -fomit-frame-pointer -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-Os -pipe -mtune=k8 -march=k8 -ftracer -fstack-protector -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.po.opole.pl "
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="en pl"
MAKEOPTS="-j3"
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://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 asf atk bash-completion berkdb bitmap-fonts boost bzip2 cairo cdparanoia cdr cli cracklib crypt cups curl dar64 dbus dlloader dvd dvdr dvdread exif expat fontconfig foomaticdb gd gdbm gif glib gnutls gphoto2 gpm gtk hal hardened hpn iconv idn ieee1394 imagemagick imlib isdnlog jpeg jpeg2k kde kipi lcms libg++ log4j logrotate mad midi mikmod mng moznocompose moznoirc moznoroaming mp3 ncurses nls nptl nptlonly nvidia ogg opengl pam pango pch pcre pdf perl png ppds pppd python qt3 readline reflection rtc ruby scanner seamonkey session slang smp spell spl sqlite3 ssl svg symlink tcpd threads tiff truetype truetype-fonts type1-fonts unicode urandom usb vcd vorbis wmf xcomposite xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-02-20 14:02:50 UTC
Get rid of the crap out of your CFLAGS. It works for me and a ton of other people. Your binutils might even be broken.