Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: FLT_ROUNDS failures ... gcc/binutils regression ?

In article <20110927171030.GA4402%lynche.sis.pasteur.fr@localhost>,
Nicolas Joly  <njoly%pasteur.fr@localhost> wrote:
>I tracked a new failure in tests/lib/libc/gen/t_fpsetround where
>FLT_ROUNDS now returns an incorrect results in the PIC case. And this
>seems related to recent gcc/binutils imports.
>njoly@lanfeust [current:flt_rounds]> cc --version
>cc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
>njoly@lanfeust [current:flt_rounds]> cc -c -fPIC -DPIC -o flt_rounds.old
>njoly@lanfeust [tmp/flt_rounds]> cc --version
>cc (NetBSD nb2 20110806) 4.5.3
>njoly@lanfeust [tmp/flt_rounds]> cc -c -fPIC -DPIC -o flt_rounds.new
>njoly@lanfeust [tmp/flt_rounds]> objdump -d flt_rounds.old >dump.old
>njoly@lanfeust [tmp/flt_rounds]> objdump -d flt_rounds.new >dump.new
>njoly@lanfeust [tmp/flt_rounds]> diff dump.old dump.new
>< flt_rounds.old:     file format elf64-x86-64
>> flt_rounds.new:     file format elf64-x86-64
><   1e: 48 8d 0d db ff ff ff    lea    -0x25(%rip),%rcx        # 0 <_map>
>>   1e: 48 8d 0d 00 00 00 00    lea    0x0(%rip),%rcx        # 25
>The new code, which does not work, looks suspicious to me ...

I think I have this taken care of in ld_elf.so


Home | Main Index | Thread Index | Old Index