Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: FLT_ROUNDS failures ... gcc/binutils regression ?
On Tue, Sep 27, 2011 at 10:47:06PM +0000, Christos Zoulas wrote:
> In article <20110927171030.GA4402%lynche.sis.pasteur.fr@localhost>,
> Nicolas Joly <njoly%pasteur.fr@localhost> wrote:
> >
> >Hi,
> >
> >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
> >flt_rounds.S
> >
> >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
> >flt_rounds.S
> >
> >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
> >2c2
> >< flt_rounds.old: file format elf64-x86-64
> >---
> >> flt_rounds.new: file format elf64-x86-64
> >18c18
> >< 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
> ><__flt_rounds+0x15>
> >
> >The new code, which does not work, looks suspicious to me ...
> >
>
> I think I have this taken care of in ld_elf.so
Thanks, Christos, for fixing it.
--
Nicolas Joly
Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index