Re: [Rd] R trunk (2.7) build fails with -fpic, needs -fPIC (PR#10372)

From: Andrew Piskorski <atp_at_piskorski.com>
Date: Wed, 24 Oct 2007 19:13:58 -0400

On Thu, Oct 25, 2007 at 12:19:13AM +0200, Peter Dalgaard wrote:

> Fedora 7 seems perfectly happy with -fpic,

Well, Ubuntu 6.06 x86-64 sure seems to hate it, but all I know about -fpic vs. -fPIC is what I read here:

  http://gcc.gnu.org/onlinedocs/gcc-4.0.3/gcc/Code-Gen-Options.html#index-fpic-1556   http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/Code-Gen-Options.html#index-fpic-1667

> Whic compiler/linker is this?

$ gcc --version | grep gcc
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
$ ld --version | grep ld
GNU ld version 2.16.91 20060118 Debian GNU/Linux

$ COLUMNS=140 dpkg -l binutils gcc-4.0

+++-==========-=============================-==============================================
ii  binutils   2.16.1cvs20060117-1ubuntu2.1  The GNU assembler, linker and binary utilities
ii  gcc-4.0    4.0.3-1ubuntu5                The GNU C compiler

-- 
Andrew Piskorski <atp_at_piskorski.com>
http://www.piskorski.com/

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 24 Oct 2007 - 23:15:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 25 Oct 2007 - 11:37:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.