http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51255
--- Comment #8 from Krisztian Kocsis ---
Hi!
In the meanwhile I'v successfully compiled uClibc 0.9.33.2 with LTO.
It required to patch only a few (2-3) lines to mark these sections as used.
We are running this in an embedded ARM926EJ-S based pro
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51255
--- Comment #6 from Krisztian Kocsis
2012-04-16 14:35:37 UTC ---
I currently know that glibc uses it but don't know who else use it.
In my projects I always use constructor/destructor attributes because with them
I can control the exection order.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51255
--- Comment #4 from Krisztian Kocsis
2012-04-16 12:07:19 UTC ---
If it is treated as a user error than a warning should be printed because this
changes the behavior of what is dropped and what is not. People expect that
"used thinds" won't be dro
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489
--- Comment #7 from Krisztian Kocsis
2012-03-05 13:50:25 UTC ---
Binutils 2.22
Pls check the attached files.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489
--- Comment #5 from Krisztian Kocsis
2012-03-05 13:40:18 UTC ---
Ok, I can confirm that it work if plugins are disabled or
-fno-use-linker-plugin is used. When linker plugin is used gcc drops these
sections.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489
--- Comment #4 from Krisztian Kocsis
2012-03-05 13:39:08 UTC ---
Created attachment 26833
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26833
Generated files with -fno-use-linker-plugin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489
--- Comment #3 from Krisztian Kocsis
2012-03-05 13:35:38 UTC ---
Created attachment 26832
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26832
Generated files with -fuse-linker-plugin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489
--- Comment #2 from Krisztian Kocsis
2012-03-05 12:46:47 UTC ---
It seems that it works with -fno-use-linker-plugin - strane :S
Now I will try to check some other things.
I think it is not a linker bug because if a save temp files the .s file do
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489
Bug #: 52489
Summary: LTO drops init_array/fini_array sections
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: major
Priority:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50367
Bug #: 50367
Summary: -flto and -Wl,--as-needed combination removes some
needed libraries
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50366
--- Comment #1 from Krisztian Kocsis
2011-09-12 16:39:32 UTC ---
Created attachment 25249
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25249
Verbose linker output.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50366
Bug #: 50366
Summary: Still got failed assertion in lto_varpool_replace_node
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49612
--- Comment #2 from Krisztian Kocsis
2011-07-03 05:59:34 UTC ---
Ok, I'll try 4.6.1.
Yes, it's definitely 4.5.3:
krisztiankocsis@optimaster:/project/optinux/products/mpbr$
/project/optinux/toolchains/geode-lx-r1/bin/i686-optinux-linux-gnu-gcc
-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49612
Summary: LTO cannot link objects
Product: gcc
Version: 4.5.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassig...@gcc.gnu.org
14 matches
Mail list logo