Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 11:07:34 +0100
From:      xorquewasp@googlemail.com
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: bootstrapping gnat GCC on amd64
Message-ID:  <20090518100734.GA36229@logik.internal.network>
In-Reply-To: <20090518084831.GA95354@logik.internal.network>
References:  <Pine.GSO.4.64.0905041459500.16666@sea.ntplx.net> <20090505005128.GA4519@logik.internal.network> <Pine.GSO.4.64.0905042052320.16666@sea.ntplx.net> <20090505022151.GA32477@logik.internal.network> <Pine.GSO.4.64.0905042224180.16666@sea.ntplx.net> <20090506140325.GA69468@logik.internal.network> <Pine.GSO.4.64.0905061043420.26946@sea.ntplx.net> <20090506152222.GC69468@logik.internal.network> <20090508211022.GA37475@logik.internal.network> <20090518084831.GA95354@logik.internal.network>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2009-05-18 09:48:31, xorquewasp@googlemail.com wrote:
>   1. Compile binutils-2.15.
> 
>   Unfortunately, compiling these as cross-binutils appear to be problematic:
> 
>   gmake[3]: Entering directory `/root/memfs/c1-bu-obj/gas'
>   gcc -DHAVE_CONFIG_H -I. -I/root/binutils-2.15/gas -I. -D_GNU_SOURCE -I. -I/root/binutils-2.15/gas -I../bfd -I/root/binutils-2.15/gas/config -I/root/binutils-2.15/gas/../include -I/root/binutils-2.15/gas/.. -I/root/binutils-2.15/gas/../bfd -I/root/binutils-2.15/gas/../intl -I../intl -DLOCALEDIR="\"/cross/x86_64/share/locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /root/binutils-2.15/gas/app.c
>   In file included from /root/binutils-2.15/gas/as.h:94,
>                  from /root/binutils-2.15/gas/app.c:30:
>   /root/binutils-2.15/gas/../include/getopt.h:116: warning: function declaration isn't a prototype
>   In file included from ./targ-cpu.h:1,
>                  from /root/binutils-2.15/gas/config/obj-elf.h:42,
>                  from ./obj-format.h:1,
>                  from /root/binutils-2.15/gas/config/te-freebsd.h:30,
>                  from ./targ-env.h:1,
>                  from /root/binutils-2.15/gas/as.h:626,
>                  from /root/binutils-2.15/gas/app.c:30:
>   /root/binutils-2.15/gas/config/tc-i386.h:451: error: array type has incomplete element type
>   gmake[3]: *** [app.o] Error 1
>   gmake[3]: Leaving directory `/root/memfs/c1-bu-obj/gas'
>   gmake[2]: *** [all-recursive] Error 1
>   gmake[2]: Leaving directory `/root/memfs/c1-bu-obj/gas'
>   gmake[1]: *** [all] Error 2
>   gmake[1]: Leaving directory `/root/memfs/c1-bu-obj/gas'
>   gmake: *** [all-gas] Error 2

Correction. Will compile with patches from here:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=299671

But doesn't pass test suite:

  # of expected passes    28
  # of unexpected failures  20

Test logs show:

Executing /root/binutils-2.15/gas/testsuite/lib/run ../as-new  --32 -al /root/binutils-2.15/gas/testsuite/gas/i386/float.s >&dump.out
regexp_diff match failure
regexp "^.*: Assembler messages:$"
line   "Assembler messages:"
regexp_diff match failure
regexp "^.*:3: Warning:.*faddp.*$"
line   "FATAL: can't create a.out: Invalid bfd target"
extra regexps in /root/binutils-2.15/gas/testsuite/gas/i386/float.l starting with "^.*:14: Warning:.*fsubp.*$"
EOF from dump.out
FAIL: i386 float

I have no idea why this happens.

xw



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090518100734.GA36229>