From owner-freebsd-perl@FreeBSD.ORG Tue Jan 15 16:40:16 2013 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 31C49FAF; Tue, 15 Jan 2013 16:40:16 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [69.77.177.114]) by mx1.freebsd.org (Postfix) with ESMTP id 12458689; Tue, 15 Jan 2013 16:40:15 +0000 (UTC) Received: from [172.16.10.200] (unknown [172.16.10.200]) by mail.intertainservices.com (Postfix) with ESMTPSA id BF5D55644C; Tue, 15 Jan 2013 11:33:20 -0500 (EST) Message-ID: <1358267600.10037.3.camel@mjakubik.localdomain> Subject: databases/p5-DBI fails on compile From: Mike Jakubik To: Ports FreeBSD Date: Tue, 15 Jan 2013 11:33:20 -0500 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: BF5D55644C.AF910 X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Cc: perl@FreeBSD.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 16:40:16 -0000 Hello, The p5-DBI port does not seem to compile with clang or native gcc. FreeBSD 9.1-STABLE #1 r245428: Mon Jan 14 19:11:14 EST 2013 clang: ======== clang -c -O2 -pipe -mtune=core2 -march=core2 -fno-strict-aliasing -O2 -pipe -mtune=native -march=native -fno-strict-aliasing -DVERSION= \"1.623\" -DXS_VERSION=\"1.623\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.14.2/mach/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c Stack dump: 0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-unknown-freebsd9.0 -emit-obj -disable-free -main-file-name Perl.c -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu penryn -momit-leaf-frame-pointer -coverage-file Perl.o -resource-dir /usr/bin/../lib/clang/3.1 -D VERSION="1.623" -D XS_VERSION="1.623" -D PIC -D DBI_NO_THREADS -I /usr/local/lib/perl5/5.14.2/mach/CORE -fmodule-cache-path /var/tmp/clang-module-cache -O2 -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -fdebug-compilation-dir /usr/ports/databases/p5-DBI/work/DBI-1.623 -ferror-limit 19 -fmessage-length 136 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-dispatch-method=non-legacy -fdiagnostics-show-option -fcolor-diagnostics -o Perl.o -x c Perl.c 1. /usr/include/sys/stat.h:148:61: current parser token ';' 2. /usr/include/sys/stat.h:122:1: parsing struct/union body 'stat' clang: error: unable to execute command: Illegal instruction: 4 (core dumped) clang: error: clang frontend command failed due to signal (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) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/Perl-w6rQLx.i clang: note: diagnostic msg: /tmp/Perl-w6rQLx.sh *** [Perl.o] Error code 254 Stop in /usr/ports/databases/p5-DBI/work/DBI-1.623. *** [do-build] Error code 1 native gcc: =========== cc -c -O2 -pipe -mtune=core2 -march=core2 -fno-strict-aliasing -O2 -pipe -mtune=native -march=native -fno-strict-aliasing -DVERSION= \"1.623\" -DXS_VERSION=\"1.623\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.14.2/mach/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c Perl.c: In function 'boot_DBD__Perl': Perl.c:1357: internal compiler error: Illegal instruction: 4 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** [Perl.o] Error code 1 Stop in /usr/ports/databases/p5-DBI/work/DBI-1.623. However gcc47 works fine. Thanks.