Jonathan Nieder <jrnie...@gmail.com> writes:
> No ICE, unfortunately.  Any idea what I did wrong?

Weird.

Real hardware (sheevaplug):
===========================

wallwart:/tmp# wget -O allcodecs.o.xz 
"http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=allcodecs.o.xz;att=1;bug=616715";
--2011-05-16 15:45:59--  
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=allcodecs.o.xz;att=1;bug=616715
Connecting to 10.7.2.8:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: "allcodecs.o.xz"

    [ <=>                                                                       
                                                                                
                                                                                
   ] 15,240      --.-K/s   in 0.1s    

2011-05-16 15:46:00 (130 KB/s) - "allcodecs.o.xz" saved [15240]

wallwart:/tmp# rm allcodecs.o
wallwart:/tmp# unxz allcodecs.o.xz 
wallwart:/tmp# sha1sum allcodecs.o 
f7c93a9132e4d02a651ade8db9f7b3f76918d236  allcodecs.o
wallwart:/tmp# ld.gold allcodecs.o
ld.gold: internal error in value_from_output_section, at 
../../gold/reloc.cc:1516
wallwart:/tmp# dpkg-query -W binutils-gold
binutils-gold   2.21.51.20110421-4

QEMU
====

debian-armel:/tmp# wget -O allcodecs.o.xz 
"http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=allcodecs.o.xz;att=1;bug=616715";
--2011-05-16 17:12:49--  
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=allcodecs.o.xz;att=1;bug=616715
Resolving bugs.debian.org... 86.59.118.149, 206.12.19.114, 
2001:858:2:2:214:22ff:fe11:ac9e
Connecting to bugs.debian.org|86.59.118.149|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: `allcodecs.o.xz'

    [ <=>                                                                       
                                                                                
                                                                                
   ] 15,240      --.-K/s   in 0.08s

2011-05-16 17:12:50 (176 KB/s) - `allcodecs.o.xz' saved [15240]

debian-armel:/tmp# unxz allcodecs.o.xz
debian-armel:/tmp# sha1sum allcodecs.o
f7c93a9132e4d02a651ade8db9f7b3f76918d236  allcodecs.o
debian-armel:/tmp# ld.gold allcodecs.o
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:132: error: 
undefined reference to 'avcodec_register'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:199: error: 
undefined reference to 'avcodec_register'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:217: error: 
undefined reference to 'avcodec_register'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:236: error: 
undefined reference to 'avcodec_register'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:398: error: 
undefined reference to 'av_register_codec_parser'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'h264_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'theora_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'vp3_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'aac_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'mp3_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'vorbis_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'pcm_f32le_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'pcm_s16le_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'pcm_u8_decoder'
third_party/ffmpeg/patched-ffmpeg-mt/libavcodec/allcodecs.c:418: error: 
undefined reference to 'mpegaudio_parser'
debian-armel:/tmp# dpkg-query -W binutils-gold
binutils-gold   2.21.51.20110421-4


In strace I can see that qemu does a readv() from allcodecs.o, two
mmap2()'s and then complains about undefined references. Sheevaplug does
a readv() and one mmap2(). It then prints the internal error. Could
ld.gold behave differently depending on some CPU feature? QEMU does not
emulate completely real hardware.

For completeness I'm attaching both straces here with same binutils-gold
version.

Attachment: qemu.strace.xz
Description: Binary data

Attachment: sheevaplug.strace.xz
Description: Binary data

-Timo

Reply via email to