Aha!
./configure was not setting up the -Wl, options corretly. Here's why:
instead of doing something like CC=icc and having icc in my path, I just did
CC=/opt/intel/blabla/icc
So when configure looked to see if CC == icc, they failed!
Then, I had another problem. My build was failing with
"ld: failed to set dynamic section sizes: Bad value"
The problem was that icc was being explicitly told to link libraries
against libc. This is a problem with ./configure. I had to manually set
archive_cmds_need_lc=no
and things work a bit more. I am going to submit this second one as a bug.
-Luke
|