Re: cross make buildworld failure

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Fri, 5 Mar 2004 17:51:13 +0200
On Fri, Mar 05, 2004 at 01:49:50PM +0200, Danny Braniss wrote:
> using a 4.9 to compile for 5.2 i get:
> ...
> ===> gnu/usr.bin/binutils/gasp
> cc -O -pipe -I/usr/include/gnu -D_GNU_SOURCE -I. -I/r+d/5.2/src/gnu/usr.bin/bin
> utils/gasp -I/r+d/5.2/src/gnu/usr.bin/binutils/gasp/../libbfd/i386 -I/
> usr/include -I/r+d/5.2/src/gnu/usr.bin/binutils/gasp/../../../../contrib/binuti
> ls/include -DBFD_ASSEMBLER -I/r+d/5.2/src/gnu/usr.bin/binutils/gasp/..
> /as/i386-freebsd -I/r+d/5.2/src/gnu/usr.bin/binutils/gasp/../as 
> -I/r+d/5.2/src/gnu/usr.bin/binutils/gasp -I/r+d/5.2/src/gnu/usr.bin/binutils/ga
> sp/../
> ../../../contrib/binutils -I/r+d/5.2/src/gnu/usr.bin/binutils/gasp/../../../../
> contrib/binutils/gas -I/r+d/5.2/src/gnu/usr.bin/binutils/gasp/../../..
> /../contrib/binutils/gas/config  -I/r+d/obj/dev/r+d/5.2/src/i386/legacy/usr/inc
> lude -c gasp+%FIXED.c
> In file included from gasp+%FIXED.c:70:
> /usr/include/regex.h:46: syntax error before `regoff_t'
> /usr/include/regex.h:46: warning: data definition has no type or storage class
> /usr/include/regex.h:56: syntax error before `regoff_t'
> gasp+%FIXED.c: In function `chew_flonum':
> gasp+%FIXED.c:553: structure has no member named `rm_eo'
> gasp+%FIXED.c:553: structure has no member named `rm_so'
> gasp+%FIXED.c:554: structure has no member named `rm_eo'
> gasp+%FIXED.c:554: structure has no member named `rm_so'
> gasp+%FIXED.c:558: structure has no member named `rm_eo'
> 
Thanks for the report, we're working on resolving this.  The
workaround (if you need this quickly) is to remove
src/contrib/binutils/include/getopt.h, and revert the following
revisions:

src/gnu/usr.bin/binutils/Makefile.inc0,v 1.34
src/gnu/usr.bin/binutils/gasp/Makefile,v 1.16


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru_at_FreeBSD.org

Received on Fri Mar 05 2004 - 06:52:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC