errors building 9-STABLE on recent HEAD

Brooks Davis brooks at freebsd.org
Mon Jun 24 20:11:51 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130624/0d60b55c/attachment.sig>


More information about the freebsd-current mailing list