Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34423 - wget-1.9-r1 failed compiling and gives "ld:hash.o: file format not recognized;"
Summary: wget-1.9-r1 failed compiling and gives "ld:hash.o: file format not recognized;"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-26 09:57 UTC by Lari Korpi
Modified: 2003-12-29 04:19 UTC (History)
1 user (show)

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


Attachments
emerge -u wget 2> this_file (info.err,1.23 KB, application/octet-stream)
2003-11-26 10:06 UTC, Lari Korpi
Details
emerge -u wget > this_file (info,23.06 KB, application/octet-stream)
2003-11-26 10:11 UTC, Lari Korpi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lari Korpi 2003-11-26 09:57:42 UTC
Trying to emerge wget-1.9-r1 but it fails and gives followeing:

/bin/sh ../libtool --mode=link gcc -march=athlon-mp -O3 -pipe
-I/usr/include/openssl  -o wget  cmpt.o connect.o convert.o cookies.o ftp.o
ftp-basic.o ftp-ls.o ftp-opie.o  hash.o headers.o host.o html-parse.o html-url.o
http.o init.o log.o main.o gen-md5.o netrc.o progress.o rbuf.o recur.o res.o
retr.o safe-ctype.o snprintf.o gen_sslfunc.o url.o utils.o version.o -lssl
-lcrypto -ldl
mkdir .libs
gcc -march=athlon-mp -O3 -pipe -I/usr/include/openssl -o wget cmpt.o connect.o
convert.o cookies.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o hash.o headers.o
host.o html-parse.o html-url.o http.o init.o log.o main.o gen-md5.o netrc.o
progress.o rbuf.o recur.o res.o retr.o safe-ctype.o snprintf.o gen_sslfunc.o
url.o utils.o version.o  -lssl -lcrypto -ldl
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld:hash.o:
file format not recognized; treating as linker script
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld:hash.o:1:
parse error
collect2: ld returned 1 exit status
distcc[17343] ERROR: compile on localhost failed
make[1]: *** [wget] Error 1
make[1]: Leaving directory `/var/tmp/portage/wget-1.9-r1/work/wget-1.9/src'
make: *** [src] Error 2
 
!!! ERROR: net-misc/wget-1.9-r1 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! (no error message)

Doesn't effect wget-1.9.1-r1

Reproducible: Always
Steps to Reproduce:
1. emerge sync (Nov 26. 2003)
2. emerge -u wget
3.

Actual Results:  
Emerge fails and first warning is:
 "ld:hash.o: file format not recognized; treating as linker script"
and emergeing stops

Expected Results:  
Upgraded and updated wget nothing special.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) MP 2200+
Gentoo Base System version 1.4.3.10
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/opt/resin/conf"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache distcc"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/ rsync://trumpetti.atm.tut.fi/gentoo/
http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo
ftp://mirror.pudas.net/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://--internall rsyncmirror--/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif jpeg libg++ mad
mikmod mpeg ncurses nls pdflib png quicktime sdl spell truetype xml2 xmms xv
zlib gdbm berkdb slang readline svga tcltk java X gpm tcpd pam perl python esd
imlib oggvorbis qt motif opengl mozilla ldap mysql ssl libwww gtk gnome -kde xml
apache2 sendmail mbox"
Comment 1 Lari Korpi 2003-11-26 10:06:56 UTC
Created attachment 21322 [details]
emerge -u wget 2> this_file
Comment 2 Lari Korpi 2003-11-26 10:11:13 UTC
Created attachment 21323 [details]
emerge -u wget > this_file
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-29 02:15:15 UTC
Lari, is this still happening?
Comment 4 Lari Korpi 2003-12-29 04:19:19 UTC
No, now it compiles fine with wget-1.9-r2, that had the same problem before.
Ques the problem was with openssl?

Thanks.