It looks to me like -current is broken with gcc-4.2.1 ?

Not sure anybody cares, but we are testing the FORTIFY_SOURCE support
with gcc-4.2.1 as we plan to support all the base compilers.

Pedro.

On 08/13/15 11:07, Oliver Pinter wrote:
Hi Pedro and current!

I have the problem with the $SUBJECT. I try to build the 11-CURRENT
w/o and w/ FORTIFY_SOURCE patches, and I get the same build error. I
use this script:
https://github.com/opntr/opBSD/blob/1fba39fa8107c8414a05bb6d6e21f20bb9fb9f87/tools/hbsd/build_hbsd_world_gcc.csh

The most important part of this file is the set up of the src.conf,
where I added these knobs to not build clang and set up gcc as
bootstrap / build compiler:

WITHOUT_CLANG_IS_CC=
WITHOUT_CLANG=
WITH_GCC=

And every time I get these error:

cc  -fpic -DPIC -O2 -pipe
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/include
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/../../include
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/amd64 -DNLS
-D__DBINTERFACE_PRIVATE
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/../../contrib/gdtoa
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/../../contrib/libc-vis
-DINET6 -I/var/tmp/amd64-objdir/usr/data/source/git/opBSD/opBSD.git/lib/libc
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/resolv -D_ACL_PRIVATE
-DPOSIX_MISTAKE
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/../libmd
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/../../contrib/jemalloc/include
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/../../contrib/tzcode/stdtime
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/stdtime
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/locale -DBROKEN_DES
-DPORTMAP -DDES_BUILTIN
-I/usr/data/source/git/opBSD/opBSD.git/lib/libc/rpc -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers
-Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -Qunused-arguments
-I/usr/data/source/git/opBSD/opBSD.git/lib/libutil
-I/usr/data/source/git/opBSD/opBSD.git/lib/msun/amd64
-I/usr/data/source/git/opBSD/opBSD.git/lib/msun/x86
-I/usr/data/source/git/opBSD/opBSD.git/lib/msun/src  -c syscall.S -o
syscall.So
syscall.S:3:122: error: expected ')' in parentheses expression
.text; .p2align 4,0x90; .globl __sys_syscall; .type
__sys_syscall,@function; __sys_syscall:; WEAK_REFERENCE(__sys_syscall,
syscall); WEAK_REFERENCE(__sys_syscall, _syscall); mov $0,%eax; movq
%rcx, %r10; syscall; jb .cerror; ret; .size __sys_syscall, . -
__sys_syscall

                                                   ^
syscall.S:3:162: error: expected ')' in parentheses expression
.text; .p2align 4,0x90; .globl __sys_syscall; .type
__sys_syscall,@function; __sys_syscall:; WEAK_REFERENCE(__sys_syscall,
syscall); WEAK_REFERENCE(__sys_syscall, _syscall); mov $0,%eax; movq
%rcx, %r10; syscall; jb .cerror; ret; .size __sys_syscall, . -
__sys_syscall


                    ^
*** [syscall.So] Error code 1

make[4]: stopped in /usr/data/source/git/opBSD/opBSD.git/lib/libc
1 error

make[4]: stopped in /usr/data/source/git/opBSD/opBSD.git/lib/libc
A failure has been detected in another branch of the parallel make

make[3]: stopped in /usr/data/source/git/opBSD/opBSD.git
*** [libraries] Error code 2

make[2]: stopped in /usr/data/source/git/opBSD/opBSD.git
1 error

make[2]: stopped in /usr/data/source/git/opBSD/opBSD.git
*** [_libraries] Error code 2

make[1]: stopped in /usr/data/source/git/opBSD/opBSD.git
1 error

make[1]: stopped in /usr/data/source/git/opBSD/opBSD.git
*** [buildworld] Error code 2

make: stopped in /usr/data/source/git/opBSD/opBSD.git
1 error

make: stopped in /usr/data/source/git/opBSD/opBSD.git

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to