Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 218027
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 200122
Assigned To: Apache Team - Bugzilla Reports <apache-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brandon Mintern <bmintern@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log Build log text/plain Brandon Mintern 2008-04-16 21:19 0000 10.26 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 218027 depends on: Show dependency tree
Bug 218027 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-16 21:17 0000
An attempt to emerge mod_python fails. It appears to build load flags
incorrectly in the following command:

/usr/bin/libtool --silent --mode=link x86_64-pc-linux-gnu-gcc -o mod_python.la 
-rpath /usr/lib64/apache2/modules -module -avoid-version    finfoobject.lo
hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo
tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo -Wl,-O1=gnu
-Wl,--sort-common -L/usr/lib64/python2.5/config -Xlinker -export-dynamic
-Wl,-O1 -Wl,--hash-style -lm -lpython2.5 -lpthread -ldl -lutil -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
invalid hash style `-soname'

Specifically, -01 should not have an argument (=gnu) and --hash-style should
have an argument. Somehow they get switched.

Reproducible: Always

Steps to Reproduce:
1. set LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common" in
/etc/make.conf
2. emerge mod_python




$ emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Turion(tm) 64 X2 Mobile Technology
TL-50
Timestamp of tree: Sun, 13 Apr 2008 08:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3 -fgcse-after-reload
-fomit-frame-pointer -fno-ident -fweb"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3 -fgcse-after-reload
-fomit-frame-pointer -fno-ident -fweb -fno-enforce-eh-specs"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/
ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://lug.mtu.edu/gentoo
http://gentoo.cites.uiuc.edu/pub/gentoo/
ftp://gentoo.cites.uiuc.edu/pub/gentoo/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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 /usr/local/portage/xeffects/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 amr ansi apm artswrappersuid
avahi bash-completion bitmap-fonts branding cairo caps cddb cdr cli
cpudetection cracklib crypt cups dbus djvu dri dvd dvdnav dvdr dvdread emacs
emboss encode evo fam fftw firefox flac fortran gdbm gif glibc-omitfp glitz
gnome gpm gprof gstreamer gtk hal iconv isdnlog ithreads jpeg kerberos lcms
logrotate mad madwifi midi mikmod mmap mmx mozbranding mozdevelop moznopango
mp3 mpeg mudflap mule ncurses new-login nls nogksu nptl nptlonly nsplugin
nvidia offensive ogg opengl openmp pam pcre pdf perl png pppd qt3support
quicktime readline reflection sdl session sndfile sound spell spl sse sse2 ssl
svg tcpd theora threads tiff tk truetype truetype-fonts type1-fonts unicode
vim-syntax vorbis xanim xft xml xorg xprint xulrunner 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" 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="evdev keyboard mouse synaptics"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="dummy nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Build log attached in first comment.

------- Comment #1 From Brandon Mintern 2008-04-16 21:19:24 0000 -------
Created an attachment (id=149993) [details]
Build log

------- Comment #2 From Gilles Dartiguelongue 2008-04-16 23:18:38 0000 -------
fault most probably comes from src_compile which seds out -Wl,--hash-style of
src/Makefile.

------- Comment #3 From Benedikt Böhm 2008-04-17 07:39:27 0000 -------

*** This bug has been marked as a duplicate of bug 200122 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug