This seems to have been introduced in r9420.
$ svn diff -r9419:9420 Cilly.pm
Index: Cilly.pm
===================================================================
--- Cilly.pm (revision 9419)
+++ Cilly.pm (revision 9420)
@@ -1992,7 +1992,12 @@
"-static-libgcc" => { TYPE => 'LINK' },
"-shared-libgcc" => { TYPE => 'LINK' },
'-Wl,--(no-)?whole-archive$' => { TYPE => 'OSOURCE' },
- '-Wl,' => { TYPE => 'LINK' },
+ '-Wl,' =>
+ { RUN => sub {
+ my ($linkargs) = ($_[1] =~ m|-Wl,(.*)$|);
+ #Split up the args
+ push @{$stub->{LINKARGS}}, split(/,/, $linkargs);
+ }},
"-traditional" => { TYPE => 'PREPROC' },
'-std=' => { TYPE => 'ALLARGS' },
"--start-group" => { RUN => sub { } },------------------------------------------------------------------------ r9420 | matth | 2007-03-06 13:18:20 -0700 (Tue, 06 Mar 2007) | 1 line fix the handling of -Wl, and suppress some int truncation warnings On Mon, 2009-08-03 at 23:49 -0700, Kristis Makris wrote: > Hello, > > It seems that CIL 1.3.7 gets confused when a program passes something > like -Wl,--export-dynamic, while CIL 1.3.6 did not show this problem. > > > > I'm attaching a testcase that demonstrates this. Although we issue: > > cilly -o test_main_merged_last -Wl,--export-dynamic > test_main_merged_last_main.c test_main_merged_last_lib.c > > eventually CIL issues: > > gcc -D_GNUCC -o > test_main_merged_last /tmp/cil-gjDUCj1W.o /tmp/cil-LuCLI4nH.o > --export-dynamic > > > So, it misses passing the complete "-Wl,--export-dynamic". It only > passed "--export-dynamic" > > Is this indeed a bug ? > > Thanks, > Kristis > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ CIL-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cil-users
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ CIL-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cil-users
