On Wed, 2009-08-26 at 08:27 -0700, ron minnich wrote:
On Wed, Aug 26, 2009 at 1:01 AM, Cristi MagherusanCristi.Magherusan@net.utcluj.ro wrote:
There are a few approaches for fixing this, like: -link against libgcc (statically)
Won't work on FC11.
From a note on 9fans:
============= also, i discovered something new today:
"... decided to link everything dynamically. To enforce this (allmost) all static libraries are removed (or not even build)..."
$ gcc t.c -static /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status ==============
-implement the needed functions ourselves (copied from libgcc)
I vote for this one. Every time we count on stable (or even sane) behavior from all linux distros or gnu toolchain, we get burned. I think we need to be as standalone as possible.
There are, what, four functions at issue?
What really amazes me is that with all the inlining that is done nowadays, these trivial functions are not inlined!
ron
Hello,
This issue will be decided and fixed in time, maybe even cleaner, but now we need to have as much boards as possible work with kconfig/Kbuild and the workaround I submitted makes it possible, not to mention it was already done the same way in the older buildsystem.
Cristi