Boost logo

Boost-Build :

From: Philipp Frauenfelder (pfrauenf_at_[hidden])
Date: 2004-07-20 09:53:28


Hi

I was able to solve the second problem too:

On Tue, Jul 20, 2004 at 02:45:03PM +0200, Philipp Frauenfelder wrote:
> 2) (this one is more misterious)
>
> ----8<----8<----8<----8<----8<----8<----8<----8<----
> gcc.link ../../builds/basics/testsuite/testTest.test/gcc/debug/testTest
> ld: fatal: option -dn and -P are incompatible
> ld: fatal: Flags processing errors
> collect2: ld returned 1 exit status
>
> "g++" -g -mimpure-text -Wl,-R -Wl,"/scratch/pfrauenf/concepts-2/builds/basics/gcc/debug" -Wl,-rpath-link -Wl,"/scratch/pfrauenf/concepts-2/builds/basics/gcc/debug" -o "../../builds/basics/testsuite/testTest.test/gcc/debug/testTest" "../../builds/basics/testsuite/testTest.test/gcc/debug/testTest.o" "../../builds/basics/gcc/debug/libconceptsbasics.so" -Wl,-Bdynamic -Wl,-Bstatic -Wl,-Bdynamic
>
> ...failed gcc.link ../../builds/basics/testsuite/testTest.test/gcc/debug/testTest...
> ----8<----8<----8<----8<----8<----8<----8<----8<----

I changed the way I include the dynamic link path of PETSc (an
external library from -Wl,-R -Wl,... to -R... and did apply the
attached patch to gcc.jam. I am not too much in the internals of
linker-compiler issues that I could guess what side-effects this
patch is going to have. However, on Linux/gcc it still works and
it works on Solaris/gcc.

Regards

-- 
Philipp | work: pfrauenf_at_[hidden] +41 44 632 60 38
Frauenfelder | home: pfrauenf_at_[hidden] +41 44 862 73 14
[PGP] | http://www.math.ethz.ch/~pfrauenf/
Proudly running Debian GNU/Linux. See http://www.debian.org/
 --DBIVS5p969aUjpLe Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename="gcc.diff"
Content-Transfer-Encoding: base64
SW5kZXg6IGdjYy5qYW0NCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9ib29z
dC9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com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk