errors building 9-STABLE on recent HEAD

From: Brooks Davis <brooks_at_freebsd.org>
Date: Mon, 24 Jun 2013 15:11:49 -0500
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

Received on Mon Jun 24 2013 - 18:11:51 UTC

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