linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] static klibc udev does not link against crt0.o
@ 2003-11-18 22:33 Olaf Hering
  2003-11-19  6:52 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Olaf Hering @ 2003-11-18 22:33 UTC (permalink / raw)
  To: linux-hotplug

no crt0.o means no _start which means no environ which means segfault in
start in getenv.c


--- Makefile~   2003-11-18 23:12:28.000000000 +0100
+++ Makefile    2003-11-18 23:30:43.839448790 +0100
@@ -166,7 +166,7 @@


 $(ROOT): $(GEN_HEADERS) $(OBJS)
-       $(CC) $(LDFLAGS) -o $(ROOT) $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
+       $(CC) $(LDFLAGS) -o $(ROOT) $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS) $(CRT0)
        $(STRIPCMD) $(ROOT)

 clean:


Or is there a reason to not link agaisnt crt0.o? Would be bad for ppc32.

-- 
USB is for mice, FireWire is for men!

sUse lINUX ag, n√úRNBERG


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-23  6:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-18 22:33 [PATCH] static klibc udev does not link against crt0.o Olaf Hering
2003-11-19  6:52 ` Greg KH
2003-11-22  9:04 ` Olaf Hering
2003-11-23  6:00 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).