[Dune] [#880] Support applications using full statically linkage (Attachment added)

Dune flyspray at dune-project.org
Thu Feb 17 15:40:54 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Markus Blatt (mblatt) 

Attached to Project - Dune
Summary - Support applications using full statically linkage
Task Type - Feature Request
Category - Build-System
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - 2.0
Due in Version - Undecided
Due Date - Undecided
Details - Hey,

the past few days I tried to persuade DUNE to build my binaries using only static linkage (for both system and 3rd-party libraries.) The main reason for this is that loading dynamically linked binaries takes more than half an hour on the full Blue Gene in Jülich.

It is possible, but needs some patch and some care:

1. "libtool  --tag=CXX --mode=link $CXX" --> "libtool  --tag=CXX --mode=link $CXX -all-static" for both the module search test and all linking. (see attached diff that uses a LIBTOOL_LINK_FLAGS configure variable)
2. Put "-static -static-libgcc" into LDFLAGS (in the opts file).

I was wondering whether a dunecontrol option for rquesting static-only linkage would make sense.

One or more files have been attached.

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=880

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list