From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 12 21:10:18 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBDF616A4CF for ; Mon, 12 Feb 2007 21:10:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 99A8F13C4B6 for ; Mon, 12 Feb 2007 21:10:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1CLAI4e048530 for ; Mon, 12 Feb 2007 21:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1CLAInr048529; Mon, 12 Feb 2007 21:10:18 GMT (envelope-from gnats) Resent-Date: Mon, 12 Feb 2007 21:10:18 GMT Resent-Message-Id: <200702122110.l1CLAInr048529@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "O. Hartmann" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C225616A400 for ; Mon, 12 Feb 2007 21:05:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id B432D13C467 for ; Mon, 12 Feb 2007 21:05:44 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1CL5iEv085266 for ; Mon, 12 Feb 2007 21:05:44 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l1CL5iWw085265; Mon, 12 Feb 2007 21:05:44 GMT (envelope-from nobody) Message-Id: <200702122105.l1CL5iWw085265@www.freebsd.org> Date: Mon, 12 Feb 2007 21:05:44 GMT From: "O. Hartmann" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/109107: R 2.4.1 does not compile properly on FreeBSD 7.0/AMD64 with ggc42 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2007 21:10:18 -0000 >Number: 109107 >Category: ports >Synopsis: R 2.4.1 does not compile properly on FreeBSD 7.0/AMD64 with ggc42 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 12 21:10:17 GMT 2007 >Closed-Date: >Last-Modified: >Originator: O. Hartmann >Release: FreeBSD 7.0-CURRENT/AMD64 >Organization: Freie Universität Berlin >Environment: FreeBSD foo.org 7.0-CURRENT FreeBSD 7.0-CURRENT #85: Sun Feb 11 22:00:54 UTC 2007 root@foo.org:/usr/obj/usr/src/sys/FOO amd64 >Description: Compiling port R-2.4.1 from port's collection on FreeBSD 7.0-CURRENT/AMD64 with port's gcc42 version 4.2.0 20070207 (prerelease) results in this error: making Lapack.d from Lapack.c gfortran42 -fpic -g -O2 -ffloat-store -c dlamc.f -o dlamc.o gfortran42 -fpic -g -O2 -c dlapack0.f -o dlapack0.o gfortran42 -fpic -g -O2 -c dlapack1.f -o dlapack1.o gfortran42 -fpic -g -O2 -c dlapack2.f -o dlapack2.o gfortran42 -fpic -g -O2 -c dlapack3.f -o dlapack3.o gfortran42 -fpic -g -O2 -c cmplx.f -o cmplx.o cc -std=gnu99 -shared -L/usr/local/lib -o libRlapack.so dlamc.o dlapack0.o dlapack1.o dlapack2.o dlapack3.o cmplx.o -L../../../lib -lRblas cc -std=gnu99 -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fpic -O2 -fno-strict-aliasing -pipe -march=opteron -c Lapack.c -o Lapack.o cc -std=gnu99 -shared -L/usr/local/lib -o lapack.so Lapack.o -L../../../lib -lR -L../../../lib -lRlapack -L../../../lib -lRblas -L/usr/local/lib/gcc-4.2.0/gcc/x86_64-portbld-freebsd7.0/4.2.0 -L/usr/local/lib/gcc-4.2.0 -lgfortran -lm -lgcc_s /usr/bin/ld: /usr/local/lib/gcc-4.2.0/libgfortran.a(pow_i4_i4.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/local/lib/gcc-4.2.0/libgfortran.a: could not read symbols: Bad value *** Error code 1 >How-To-Repeat: Try to compile R 2.4.1 on FreeBSD 7.0/AMD64 with gcc42 version 4.2.0 20070207 (prerelease) >Fix: Add flag -fPIC to compiler options as the compiler error message suggests >Release-Note: >Audit-Trail: >Unformatted: