Opened 14 years ago

Closed 14 years ago

#2413 closed Bugs (fixed)

intel-linux.jam lacks -fPIC logic

Reported by: Maik Beckmann <Beckmann.Maik@…> Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Due to this the linker complains about sources not being compiled with -fPIC when working on x86_64 linux.

mb471636@linuxhtc01:~/workspace/boost[558]$ icpc --version icpc (ICC) 10.1 20080602

-- Maik

Attachments (1)

intel-fpic.diff (785 bytes ) - added by Vladimir Prus 14 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Maik Beckmann <Beckmann.Maik@…>, 14 years ago

Argh, wrong component. Should have been

"build"

not

"Building Boost"

However, it affects building boost as well :)

by Vladimir Prus, 14 years ago

Attachment: intel-fpic.diff added

comment:2 by Vladimir Prus, 14 years ago

Does the patch I've just attached help?

comment:3 by Maik Beckmann <Beckmann.Maik@…>, 14 years ago

boost/tools/build/v2/tools/intel-linux.jam:94: in intel-linux.compile.c++                                                                              
rule setup-fpic unknown in module intel-linux.     

comment:4 by Vladimir Prus, 14 years ago

Resolution: fixed
Status: newclosed

We've talked with Maik on IRC, and I've checked in https://svn.boost.org/trac/boost/changeset/49357 that fixes the problem.

comment:5 by René Rivera, 14 years ago

Resolution: fixed
Status: closedreopened

That fix doesn't seem right to me. As it has the same compile.c++ rule repeated.

comment:6 by Vladimir Prus, 14 years ago

Resolution: fixed
Status: reopenedclosed

Fixed now. r49450.

Note: See TracTickets for help on using tickets.