Date: Tue, 15 Jan 2013 11:33:20 -0500 From: Mike Jakubik <mike.jakubik@intertainservices.com> To: Ports FreeBSD <freebsd-ports@freebsd.org> Cc: perl@FreeBSD.org Subject: databases/p5-DBI fails on compile Message-ID: <1358267600.10037.3.camel@mjakubik.localdomain>
next in thread | raw e-mail | index | archive | help
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 <URL:http://gcc.gnu.org/bugs.html> for instructions. *** [Perl.o] Error code 1 Stop in /usr/ports/databases/p5-DBI/work/DBI-1.623. However gcc47 works fine. Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1358267600.10037.3.camel>