lsb

lsbcc changes order between library arguments and file name arguments

Bug #1327274 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lsb
In Progress
Medium
Unassigned
Mandriva
In Progress
Medium

Bug Description

Created attachment 1687 [details]
Setup which shows a link failure due to lsbcc reordering libraries

When building an application with lsbcc I noticed that the order in which
libraries are linked is changed by lsbcc. This is noticeable if some of the
libraries are passed as a file argument while others are passed with the -l
flag. For example:

lsbcc app.o -lar1 libar2.a

The order between -lar1 and libar2.a must be kept or linking could fail. I
attached some sources which fails to link when using lsbcc.

Tags: sdk lsbcc uplift
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → In Progress
Jeff Johnson (n3npq)
tags: added: lsbcc
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.