From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 12 19:27:13 2013 Return-Path: Delivered-To: ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4175152C; Tue, 12 Mar 2013 19:27:13 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id 0230DA6C; Tue, 12 Mar 2013 19:27:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1UFUql-0007Qy-35; Tue, 12 Mar 2013 22:27:03 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:Subject:Cc:To:From; bh=ax4MoyisRWIHoB9JvnGxUBdWF95CZYqXHVWrcbXUB5w=; b=J2MiW1uVc0ktFraOH4hTHVHErKgFPJIitaCRtqvYkyMn6Q323d1pb5s+QoKW1gU+05kHl77jKLL1Pk+Xi0UdAeSfInKwFBRISwX6c5qFFBJ4C/cugkxWyzr3o9s1/ZYLp0norXsX8okEby6Rzar3Gn/1F5Iy3A0JOtU41yqmS5s=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1UFUoT-0002Ey-N1; Tue, 12 Mar 2013 19:24:48 +0000 From: Jan Beich To: awarecons Subject: Re: www/firefox & seamonkey ISSUES config errors Date: Tue, 12 Mar 2013 09:24:51 -1000 References: MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1UFUoT-0002Ey-N1@internal.tormail.org> Cc: gecko@FreeBSD.org, ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 19:27:13 -0000 awarecons writes: > configure:23844: checking size of int * > configure:23863: clang -o conftest -O2 -pipe -march=pentium4 -mtune=pentium4 -fno-strict-aliasing -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-tree-vrp -Qunused-arguments -O2 -pipe -march=pentium4 -mtune=pentium4 -Wno-error -w -isystem/usr/local/include -I/usr/local/include -pthread -L/usr/local/lib -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$$ORIGIN -Wl,-z,noexecstack conftest.c 1>&5 > Stack dump: > 0. Program arguments: /usr/bin/clang -cc1 -triple i386-unknown-freebsd9.0 -emit-obj -disable-free -main-file-name conftest.c -mrelocation-model static -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -target-cpu pentium4 -momit-leaf-frame-pointer -ffunction-sections -fdata-sections -resource-dir /usr/bin/../lib/clang/3.0 -isystem /usr/local/include -I /usr/local/include -fmodule-cache-path /tmp/clang-module-cache -O2 -Wno-error -w -ferror-limit 19 -fmessage-length 0 -pthread -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -o /tmp/conftest-77qaJi.o -x c conftest.c > 1. parser at end of file > 2. configure:23854:1: LLVM IR generation of declaration 'main' > 3. configure:23854:1: Generating code for declaration 'main' > 4. configure:23855:1: LLVM IR generation of compound statement ('{}') > clang: error: unable to execute command: Illegal instruction: 4 (core dumped) > clang: error: clang frontend command failed due to signal 2 (use -v to see invocation) > clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information. > clang: note: diagnostic msg: Preprocessed source(s) are located at: > clang: note: diagnostic msg: /tmp/conftest-PDiTwg.i > configure: failed program was: > #line 23852 "configure" > #include "confdefs.h" > #include > main() > { > FILE *f=fopen("conftestval", "w"); > if (!f) exit(1); > fprintf(f, "%d\n", sizeof(int *)); > exit(0); > } Try to remove -march/-mtune from CFLAGS. This may be a bug in clang 3.0 generating instructions your CPU doesn't support.