Skip to contentSkip to conversation

qemu-arm 0.10.0 strip (2.17) error during make install on x86_64-linux (compiled with GCC 4.3.3 FSF or Debian etch 4.1.1-21)

Qemu-devel Laurent GUERBY 1 participant 2 messages Mar 8, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

When doing on x86_64-linux debian etch, either with system GCC in PATH or 4.3.3 FSF:

./configure --prefix=/some/where
make
make install

install fails with:

install -m 755 -s qemu-arm "/home/guerby/tmp/install2/bin"
BFD: /home/guerby/tmp/install2/bin/stXgVPWl: The first section in the PT_DYNAMIC segment is not the .dynamic section
strip: /home/guerby/tmp/install2/bin/stXgVPWl: Bad value
BFD: /home/guerby/tmp/install2/bin/stXgVPWl: The first section in the PT_DYNAMIC segment is not the .dynamic section
strip: /home/guerby/tmp/install2/bin/stXgVPWl: Bad value
install: strip failed
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/guerby/tmp/qemu-0.10.0/arm-linux-user'
make: *** [install] Error 1

strip is version 2.17.

I shadowed strip by something which does "exit 0" and the install worked without error. I did not test qemu-arm though.

Sincerely,

Laurent
http://gcc.gnu.org/wiki/CompileFarm

#1 lore raw
Quoted 21 lines · Laurent GUERBY

Hi,

When doing on x86_64-linux debian etch, either with system GCC in PATH or 4.3.3 FSF:

./configure --prefix=/some/where
make
make install

install fails with:

install -m 755 -s qemu-arm "/home/guerby/tmp/install2/bin"
BFD: /home/guerby/tmp/install2/bin/stXgVPWl: The first section in the PT_DYNAMIC segment is not the .dynamic section
strip: /home/guerby/tmp/install2/bin/stXgVPWl: Bad value
BFD: /home/guerby/tmp/install2/bin/stXgVPWl: The first section in the PT_DYNAMIC segment is not the .dynamic section
strip: /home/guerby/tmp/install2/bin/stXgVPWl: Bad value
install: strip failed
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/guerby/tmp/qemu-0.10.0/arm-linux-user'
make: *** [install] Error 1

Quoted 4 lines

strip is version 2.17.

I shadowed strip by something which does "exit 0" and the install worked without error. I did not test qemu-arm though.

strip from binutils 2.19.1 works without error and on IRC someone tested 2.17.50 and it worked fine too, so it's likely to be a 2.17 missing feature or bug.

Laurent