From owner-freebsd-toolchain@FreeBSD.ORG Tue Mar 31 21:04:13 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81687A33; Tue, 31 Mar 2015 21:04:13 +0000 (UTC) Received: from mail-lb0-x22c.google.com (mail-lb0-x22c.google.com [IPv6:2a00:1450:4010:c04::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EE6C79C; Tue, 31 Mar 2015 21:04:13 +0000 (UTC) Received: by lbbzk7 with SMTP id zk7so5708386lbb.0; Tue, 31 Mar 2015 14:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=7IKOlT5FnZnWDTMatjIu/S5rHxVG99J0HbMDw1MzL/M=; b=d5PArDS+e3B1fploO0SZ4WSN2fV3FpRuGvXlugsxHofSHAUEdE8mP/aol5cgP+x8dv bQD/ClBOw+OeYCN+CdXKgdJ//vKyNShlwt0qLymq8bco6kUwhTTLohTqnb416YhE57rS HxfAK8OMo6VwDOB/GIQhr6fy1JJPXkZU53QEMIgWoIHpf9MdzTMKQYHBbYCSRiRm5DZM JM8WOJ4S1SUBBMuBbFg0pN0PLfJGjX4Bvjhqtg+8sl6fXQm0tf+Gy6dVlQ+M1hCJUeND FNg9exlzliqc6pFysc+AyyrTfrRrZ8kvp8jqGhROoG7s37/LPKMGZDyiwhhk7PWGUpka +SWw== MIME-Version: 1.0 X-Received: by 10.112.166.36 with SMTP id zd4mr6172521lbb.59.1427835851258; Tue, 31 Mar 2015 14:04:11 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.108.168 with HTTP; Tue, 31 Mar 2015 14:04:11 -0700 (PDT) Date: Tue, 31 Mar 2015 14:04:11 -0700 X-Google-Sender-Auth: g5SJe6KYnczH5XrKHzgACtbZwqU Message-ID: Subject: Kernel compilation failures with gcc 4.9 From: Craig Rodrigues To: FreeBSD Toolchain , "freebsd-testing@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2015 21:04:13 -0000 Hi, I put this in make.conf: NO_WERROR=yes WERROR= WITHOUT_BOOT=yes WITHOUT_RESCUE=yes and used this script to build: https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/cross-build.sh I managed to build a lot of stuff, but then got build failures in the aesni part of the kernel build. See the full build log here: https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/30/console I think this is the error: In file included from /usr/local/lib/gcc/x86_64-portbld-freebsd10.0/4.9.1/include/mm_malloc.h:27:0, from /usr/local/lib/gcc/x86_64-portbld-freebsd10.0/4.9.1/include/xmmintrin.h:34, from /usr/local/lib/gcc/x86_64-portbld-freebsd10.0/4.9.1/include/emmintrin.h:31, from /usr/local/lib/gcc/x86_64-portbld-freebsd10.0/4.9.1/include/wmmintrin.h:31, from /builds/FreeBSD_HEAD_external_toolchain_gcc/sys/modules/aesni/../../crypto/aesni/aesni_ghash.c:74: /builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_external_toolchain_gcc/tmp/usr/include/stdlib.h:93:7: error: conflicting types for 'free' void free(void *); ^ In file included from /builds/FreeBSD_HEAD_external_toolchain_gcc/sys/crypto/aesni/aesni.h:33:0, from /builds/FreeBSD_HEAD_external_toolchain_gcc/sys/modules/aesni/../../crypto/aesni/aesni_ghash.c:69: /builds/FreeBSD_HEAD_external_toolchain_gcc/sys/sys/malloc.h:177:6: note: previous declaration of 'free' was here void free(void *addr, struct malloc_type *type); Any ideas? -- Craig