Re: errors building 9-STABLE on recent HEAD

From: Martin Wilke <miwi_at_bsdhash.org>
Date: Sat, 13 Jul 2013 23:07:04 +0800
Hi,

I see exactly the same error on pointyhat too, did you find any work around for that?

On Jun 25, 2013, at 4:11 AM, Brooks Davis <brooks_at_FreeBSD.ORG> wrote:

> I recently upgraded my main buildbox from an ancient 9.0-STABLE snapshot
> to head and I've run into an issue building 9-STABLE on it.  Initally
> this was broken by the switch to bmake, but Simon committed a work
> around that and using the fmake port also works around it.  Now I'm
> seeing a strange error in yacc generated code.  I say strange because
> yacc is correctly being bootstrapped so we're using the expected version
> and not the one in HEAD.
> 
> Does anyone have any insight into this issue?
> 
> cc -O2 -pipe  -DBFD_DEFAULT_TARGET_SIZE=64 -I.  -I/home/bed22/src-9/gnu/usr.bin/binutils/ld -I/home/bed22/src-9/gnu/usr.bin/binutils/ld/../libbfd -I/home/bed22/obj/home/bed22/src-9/gnu/usr.bin/binutils/ld/../libbfd -I/home/bed22/src-9/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DTARGET=\"x86_64-unknown-freebsd\" -DDEFAULT_EMULATION=\"elf_x86_64_fbsd\" -DSCRIPTDIR=\"/usr/libdata\" -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" -DTARGET_SYSTEM_ROOT=\"\" -DTOOLBINDIR=\"//usr/bin/libexec\" -D_GNU_SOURCE -I/home/bed22/src-9/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -I/home/bed22/src-9/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c ldlex.c
> cc1: warnings being treated as errors
> <stdout>: In function 'yy_get_next_buffer':
> <stdout>:3229: warning: passing argument 2 of 'yy_input' from
> incompatible pointer type
> *** [ldlex.o] Error code 1
> 
> Stop in /home/bed22/src-9/gnu/usr.bin/binutils/ld.
> *** [all] Error code 1
> 
> Thanks,
> Brooks

+-----------------oOO--(_)--OOo-------------------------+
With best Regards,
       Martin Wilke (miwi_(at)_FreeBSD.org)

Mess with the Best, Die like the Rest
Received on Sat Jul 13 2013 - 13:07:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC