This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GNU Binutils 2.33.1 has been released.
Hi Nick,
Le 14/10/2019 à 12:44, Nick Clifton a écrit :
> Hi Romain,
>
>> I tested this new version using toolchain-builder project [1] and discovered
>> some regressions on arm cortex-m4 and SH4 architectures.
>
>> There is a segfault in elf2flt while building busybox:
>> "ld (ld-elf2flt):
>> /builds/kubu93/toolchains-builder/build/opt/armv7m--uclibc--bleeding-edge-2/arm-buildroot-uclinux-uclibcgnueabi/bin/elf2flt
>
> Hmm, that is worrying, but I suppose that it could be a bug in
> elf2flt rather than the binutils. Maybe...
Probably, elf2flt is testing with binutils up to 2.31.1.
We use the latest git version.
>
> Is this problem specific to the ARM architecture ? (Ie does elf2flt
> work when compiled and run for other architecures ?) If so, then I
> would suspect a problem with the changes to the ARM specific code in
> the BFD library, and I would probably ask one of the ARM regulars to
> take a look. (Hi Tamar...)
I can't say if it's specific to the ARM architecture. elf2flt is only used when
we use FLAT binary format. This is only the case in Buildroot for the ARM
cortex-m4 architecture.
>
> Are you able to find out where the segmentation fault is occurring ?
> Is it inside the BFD library somewhere ?
For now, I just reproduced on gitlab yesterday and reproduced locally today.
The command line is https://pastebin.com/s9hfWpbE
>
>
>> - sh4 [4]: (sh4, binutils 2.33.1, kernel headers 4.19.79, Glibc | uClibc-ng |
>> musl, Qemu 3.1)
>>
>> The system doesn't boot under Qemu.
>
> *sigh* This one will probably be even harder to investigate. Not being
> familiar with Qemu, I do not what the best approach would be. Can we get
> it to tell us why the boot fails ? Does it think that a binary is invalid
> somehow ?
I tried to reproduce but nothing appear on the screen, not even a initial boot
from the kernel...
I can try to use git bisect between binutils 2.32 and 2.33.1, but it will take a
lot of time.
Best regards,
Romain
>
> Cheers
> Nick
>