[uClibc]Problems with buildroot...
andersen at codepoet.org
Tue Mar 4 07:05:55 UTC 2003
On Mon Mar 03, 2003 at 10:13:13PM -0500, Thomas Cameron wrote:
> Hello all,
> By freak chance I decided to update my uClibc version within
> my Buildroot environment. When I tried to compile it, I noticed a new
> config feature- profiling. Neat! However, I disabled it, as I do not
> need any form of debugging or profiling in my environment.
I checked in the profiling stuff _after_ releasing uClibc 0.9.19
since I was certain that such a large change would break things.
Looks like you found the first breakage...
> When Buildroot attempted to build uClibc, it failed while
> trying to compile crt0.o (I believe). It errored out, stating that
> gprof-start.S did not exist. I did not expect it to require this, as I
> turned off profiling. I grepped the uClibc directory, and found that
> crt0.S included this file at the end. I then grepped the uClibc
> directory for the variable that the #ifdef chechs for before compiling
> in grpof-start.S. I could not find any reference to it that made any
If you want to be uber-stable, you may want to set
and use stock uClibc 0.9.19 which doesn't have any frightening
untested stuff in it, unlike the latest from CVS... The fix
(just committed to CVS) is pretty simple.
--- libc/sysdeps/linux/i386/crt0.S 3 Mar 2003 20:58:14 -0000 1.19
+++ libc/sysdeps/linux/i386/crt0.S 4 Mar 2003 07:03:50 -0000
@@ -100,7 +100,7 @@
-#if defined L_gcrt1
+#if defined L_gcrt1 && defined __UCLIBC_PROFILING__
# include "./gmon-start.S"
> Also, I have made a modutils.mk file. Where should I send
> it to?
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc