From owner-freebsd-toolchain@freebsd.org Thu Aug 13 18:38:53 2015 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 936D99B8AF7 for ; Thu, 13 Aug 2015 18:38:53 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm25-vm1.bullet.mail.bf1.yahoo.com (nm25-vm1.bullet.mail.bf1.yahoo.com [98.139.212.155]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 544DAD12 for ; Thu, 13 Aug 2015 18:38:52 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1439491126; bh=qA1SLlXIUVaPZxmsRuHJa5GD4O8kaIY9ybybQRLl7Fs=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=EZ0UhVzjQe31jBMTIu0Yn2Lz1zNh9pS7GItY5+0tU7LxBA8rMCmu5wvXdr50pGq7ajT7s8ZZhm1yMQ1Y6fOa3cotMnNT9LFa5mT8SFmsChkuFv3ZXAkF/bbwH6Wgf95i+cOsLq+laaFFv9Knb+LCP08sZbwDfGHkBlCt0t8IS4E1p/ZdTB4Ocbs+O20+tAjsfpoT7yHoFgu6fTewx+29tmPB5mWtufOODE3FQe4lps2pKsxOYGRuceDM/0g0PJ3VWg+eFHPIui+ruGyJFj74q2GVw10vrMZFCZ0tNO7y8kZlpWF4iWaEMnCBFYC0kU7eUiwy1H4d1fkZrtb7D+fsOw== Received: from [98.139.170.179] by nm25.bullet.mail.bf1.yahoo.com with NNFMP; 13 Aug 2015 18:38:46 -0000 Received: from [98.139.211.162] by tm22.bullet.mail.bf1.yahoo.com with NNFMP; 13 Aug 2015 18:38:46 -0000 Received: from [127.0.0.1] by smtp219.mail.bf1.yahoo.com with NNFMP; 13 Aug 2015 18:38:46 -0000 X-Yahoo-Newman-Id: 527115.16157.bm@smtp219.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6ABZC3YVM1m3y_geDQWu3t7hWmMDibpe09woWP0P0MQ7UC7 LbzpXD5rAW1mo.NtY43bQUfyJdzY1IVHf_3jXuGGPFqrvCNtaDw8JzgvMLXR JRxMYzUgfCXShGg5AKUcai0BxqurYLD.boEreeuAlRTrlZ.v0gAgz2_J2UM0 Pg9NgnZb6G9FvRcR_1VCguJZpcn437TPsnloqgbwzmCfeVKOTKKFh45sOeoX hxpr0Zowzf1QPp4uIdtoiC0dr9pzaY5BzSTH17mwSrPfOEE0PAthZYc_Alpb TyaJxvZ9TnfAYaP6BqGiCgH2pvB1By8oTEzg5p9Yv80rbMe9.uxEofD_oT4d pwhLDwuUtrlp3J0.D6qLfbx_brnXXmMR7ZUzOLTF6OPPaqMfpltIeRFMrzyZ Tt.0kjtFPVlY7HFae64jJNc2UijiRtJdAlEt2G6JTxW.IROKPGUfWnULsHyf wlRx3q_AQdO4RTJzHEIKeLUUd9BHppWhr3WmEdDddTHAT7nsArmLhkdmGT3z _YyQq1jkOzk7v9hJm5_gDrTx2h8yx.y4- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Subject: Re: unable to build FreeBSD 11-CURRENT with gcc on amd64 To: Oliver Pinter References: Cc: freebsd-toolchain@FreeBSD.org From: Pedro Giffuni Message-ID: <55CCE43C.3080307@FreeBSD.org> Date: Thu, 13 Aug 2015 13:38:52 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2015 18:38:53 -0000 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 >