bugLiberty Eiffel - Bugs: bug #39193, Issues with gcc 4.6 and external...

 
 

bug #39193: Issues with gcc 4.6 and external libraries

Submitted by:  Cyril Adrian <cadrian>
Submitted on:  Fri 07 Jun 2013 11:50:09 AM UTC  
 
Category: SmartEiffelSeverity: 3 - Normal
Priority: 4Status: Fixed
Assigned to: Cyril Adrian <cadrian>Open/Closed: Closed
Release: NoneFixed Release: adler
Planned Release: adler

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 07 Jun 2013 11:50:09 AM UTC, original submission:

https://github.com/LibertyEiffel/Liberty/issues/22

«recent gcc/ld uses the --as-needed linker flag as default. Practically, that means libraries have to be specified in the reverse order of dependencies on the command line. If the mems_internals library needs the sqrt function your -lm after -lmems_internals.»

So all wrappers that needs to link to external .so libraries could be compiled giving the --no-as-needed option to the linker; since it's a linker specific option it shall be passed to gcc as "-Xlinker --no-as-needed" in your "linker_options" file.

Cyril Adrian <cadrian>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cadrian (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 03 Jul 2013 06:54:16 PM UTCcadrianStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>adler
    Wed 12 Jun 2013 11:30:03 AM UTCcadrianPriority5 - Normal=>4

    Back to the top


    Powered by Savane 3.1-cleanup1