From owner-freebsd-stable@FreeBSD.ORG Thu Jan 8 18:48:18 2015 Return-Path: Delivered-To: stable@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 8993D4D8 for ; Thu, 8 Jan 2015 18:48:18 +0000 (UTC) Received: from gwave1.banym.de (gwave1.banym.de [212.72.74.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A6308F5 for ; Thu, 8 Jan 2015 18:48:17 +0000 (UTC) Received: from tesla.banym.local (dslb-084-057-024-171.084.057.pools.vodafone-ip.de [84.57.24.171]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by gwave1.banym.de (Postfix) with ESMTP id 100561C003 for ; Thu, 8 Jan 2015 19:30:29 +0100 (CET) Message-ID: <54AECCD5.6080500@banym.de> Date: Thu, 08 Jan 2015 19:30:45 +0100 From: Dominik Zajac User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: stable@freebsd.org Subject: Optimization flags lead to not working loader.efi Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Banym-MailScanner-Information: Please contact the ISP for more information X-Banym-MailScanner-ID: 100561C003.A203E X-Banym-MailScanner: Found to be clean X-Banym-MailScanner-From: banym@banym.de X-Spam-Status: No X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 18:48:18 -0000 Hi, while testing on my workstation I had some optimizations flags in place while I did buildword of 10-STABLE. The system failed to boot because of a not working loader.efi I replaced the loader.efi with the one from the STABLE snapshot media and the sytem loaded up correctly and worked as I could see. To verify I removed all custom flags from my make.conf and rebuilt world again which leads to a fully working system again. Not sure if its a real bug or needs some more investigation. Here are the flags I had in place: CPUTYPE?= core-avx2 MAKE_JOBS_NUMBER?=8 OPTIMIZED_CFLAGS=YES BUILD_OPTIMIZED=YES WITH_CPUFLAGS=YES WITH_OPTIMIZED_CFLAGS=YES Regards, Dominik