Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271084 - dev-lang/R-2.8.1 (and 2.7.[12]) does not compile with --as-needed LDFLAGS
Summary: dev-lang/R-2.8.1 (and 2.7.[12]) does not compile with --as-needed LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-24 16:43 UTC by Robert A.
Modified: 2009-06-02 11:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
paludis info (paludis.info,15.90 KB, text/plain)
2009-05-24 16:44 UTC, Robert A.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert A. 2009-05-24 16:43:31 UTC
see bug #176755 


it fails with:
<snip>
i686-pc-linux-gnu-gcc -std=gnu99 -I../../../../include -I../../../include -I../../../../src/include -DHAVE_CONFIG_H -I/usr/local/include    -fpic  -march=prescott -O2 -pipe -fomit-frame-pointer -c init.c -o init.o
i686-pc-linux-gnu-gcc -std=gnu99 -shared -Wl,-O1 -Wl,--as-needed -o grDevices.so chull.o devNull.o devPicTeX.o devPS.o devQuartz.o init.o    -L../../../../lib -lR
mkdir -p -- ../../../../library/grDevices/libs
make[5]: Leaving directory `/tmp/paludis/dev-lang-R-2.8.1/work/R-2.8.1/src/library/grDevices/src'
make[4]: Leaving directory `/tmp/paludis/dev-lang-R-2.8.1/work/R-2.8.1/src/library/grDevices/src'
Warning in solve.default(rgb) :
  unable to load shared library '/tmp/paludis/dev-lang-R-2.8.1/work/R-2.8.1/modules//lapack.so':
  /tmp/paludis/dev-lang-R-2.8.1/work/R-2.8.1/lib/libRlapack.so: undefined symbol: _gfortran_concat_string
Error in solve.default(rgb) : lapack routines cannot be loaded
Error: unable to load R code in package 'grDevices'
Execution halted
make[3]: *** [all] Error 1
<snap>
Comment 1 Robert A. 2009-05-24 16:44:21 UTC
Created attachment 192321 [details]
paludis info
Comment 2 Robert A. 2009-06-02 11:36:32 UTC
this problem occurs with =sys-devel/gcc-4.1.2.
compiling R with gcc-4.3.2 and --as-needed works.