All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Re: cannot compile 2.6.1 uml-kernel, NPTL?
  2004-01-17  0:38 [uml-devel] " Sven Köhler
@ 2004-01-17 21:57 ` Sven Köhler
  2004-01-18  3:03   ` Nuno Silva
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Köhler @ 2004-01-17 21:57 UTC (permalink / raw)
  To: user-mode-linux-devel

> gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free 
> -Wl,--wrap,calloc \
>         -o linux arch/um/main.o vmlinux -L/usr/lib -lutil

Since the only file that's included is /usr/lib/libutils.so and this 
file is part of glibc, i believe that it's my NPTL-patched glibc.

Can somebody with installed NPTL confirm the problem?

BTW: i'm using glibc 2.3.2



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* [uml-devel] Re: cannot compile 2.6.1 uml-kernel, NPTL?
@ 2004-01-17 22:51 M A Young
  2004-01-17 23:58 ` Sven Köhler
  0 siblings, 1 reply; 4+ messages in thread
From: M A Young @ 2004-01-17 22:51 UTC (permalink / raw)
  To: User-mode-linux-devel

>> gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free
>> -Wl,--wrap,calloc \
>>         -o linux arch/um/main.o vmlinux -L/usr/lib -lutil
>
>Since the only file that's included is /usr/lib/libutils.so and this
>file is part of glibc, i believe that it's my NPTL-patched glibc.
>
>Can somebody with installed NPTL confirm the problem?
>
>BTW: i'm using glibc 2.3.2

I think I saw something similar to your original error when playing with
linking against an nptl enabled libc.a, but I can't remember the details.
I suspect NPTL has some header differences.

It is however worth starting again from a clean kernel tree to make sure
it is not old .o files causing the problems.

	Michael Young


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* [uml-devel] Re: cannot compile 2.6.1 uml-kernel, NPTL?
  2004-01-17 22:51 [uml-devel] Re: cannot compile 2.6.1 uml-kernel, NPTL? M A Young
@ 2004-01-17 23:58 ` Sven Köhler
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Köhler @ 2004-01-17 23:58 UTC (permalink / raw)
  To: user-mode-linux-devel

> It is however worth starting again from a clean kernel tree to make sure
> it is not old .o files causing the problems.

Shouldn't "make clean" or even "make mrproper" remove all old .o files?
I did both, it didn't help.

I now recompiled my glibc without NPTL and i can compile the UML-kernel 
again without errors.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] Re: cannot compile 2.6.1 uml-kernel, NPTL?
  2004-01-17 21:57 ` [uml-devel] " Sven Köhler
@ 2004-01-18  3:03   ` Nuno Silva
  0 siblings, 0 replies; 4+ messages in thread
From: Nuno Silva @ 2004-01-18  3:03 UTC (permalink / raw)
  To: Sven Köhler; +Cc: user-mode-linux-devel

Hello!

Sven Köhler wrote:
>> gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free 
>> -Wl,--wrap,calloc \
>>         -o linux arch/um/main.o vmlinux -L/usr/lib -lutil
> 
> 
> Since the only file that's included is /usr/lib/libutils.so and this 
> file is part of glibc, i believe that it's my NPTL-patched glibc.
> 
> Can somebody with installed NPTL confirm the problem?
> 
> BTW: i'm using glibc 2.3.2
> 

I can't confirm your problem, but something close:
With latest glibc (2.3.3cvs) with NPTL as the only glibc in the system 
(host kernel == 2.6), linux-2.4.23-um1 compiled dinamically exits with 
segfault.

I didn't have time, this last week, to retest diferent cenarios but I'll 
try in the next few days.

You're trying with 2.6-um and a release glibc, so this may be unrelated :-)

Regards,
Nuno Silva



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2004-01-18  3:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-17 22:51 [uml-devel] Re: cannot compile 2.6.1 uml-kernel, NPTL? M A Young
2004-01-17 23:58 ` Sven Köhler
  -- strict thread matches above, loose matches on Subject: below --
2004-01-17  0:38 [uml-devel] " Sven Köhler
2004-01-17 21:57 ` [uml-devel] " Sven Köhler
2004-01-18  3:03   ` Nuno Silva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.