All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [uml-devel] NPTL support
       [not found] <29D15BBCA340DA4D8146D38B4924FC7A03378F16@zcarhxm0.corp.nortel.com>
@ 2005-11-28 18:27 ` Jeff Dike
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Dike @ 2005-11-28 18:27 UTC (permalink / raw)
  To: Majid Salame; +Cc: user-mode-linux-devel

On Mon, Nov 28, 2005 at 10:01:25AM -0500, Majid Salame wrote:
>  Is NPTL supported and working? Are there separate patches to be applied
> against 2.6.10 kernel?

My current patchset, against 2.5.15-rc1, is running current Debian and FC4
filesystems without any apparent problems.

				Jeff


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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] NPTL support
       [not found] <20051129162801.4474EF3DC@sc8-sf-spam2.sourceforge.net>
@ 2005-11-29 21:00 ` Antoine Martin
  2005-11-29 23:14   ` Rob Landley
  2005-12-02  0:29   ` Blaisorblade
  0 siblings, 2 replies; 4+ messages in thread
From: Antoine Martin @ 2005-11-29 21:00 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Jeff Dike, Majid Salame

> >  Is NPTL supported and working? Are there separate patches to be
> applied
> > against 2.6.10 kernel?
> 
> My current patchset, against 2.5.15-rc1, is running current Debian and
> FC4
> filesystems without any apparent problems.
> 
>                                 Jeff
I thought that last time I failed to build it, Gentoo was to blame so I
tried again today on an amd64 FC4 host, and that worked for i386.
Again, I had to delete the empty files to get that far.

I also had to remove 3-level page tables option, otherwise I get this:
  HOSTCC  scripts/bin2c
  CC      init/main.o
In file included from include/asm/pgtable.h:30,
                 from include/linux/bootmem.h:7,
                 from init/main.c:30:
include/asm/pgtable-3level.h: In function ‘pud_clear’:
include/asm/pgtable-3level.h:74: warning: implicit declaration of
function ‘set_64bit’
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
(...) Lots more warnings about set_64bit... Then the build fails.


Any fix for the GCC errors on arch/um/include/sysdep/stub.h would be
much appreciated (I have to compile on these hosts to be able to use the
pcap network driver):
  CC      arch/um/kernel/skas/clone.o
arch/um/kernel/skas/clone.c: In function `stub_clone_handler':
arch/um/include/sysdep/stub.h:41: error: can't find a register in class
`BREG' while reloading `asm'
arch/um/include/sysdep/stub.h:62: error: can't find a register in class
`BREG' while reloading `asm'
arch/um/include/sysdep/stub.h:51: error: can't find a register in class
`BREG' while reloading `asm'
arch/um/include/sysdep/stub.h:84: error: can't find a register in class
`BREG' while reloading `asm'
make[2]: *** [arch/um/kernel/skas/clone.o] Error 1
make[1]: *** [arch/um/kernel/skas] Error 2
make: *** [arch/um/kernel] Error 2

Or shall I bug the GCC guys?

Thanks
Antoine




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&opΜk
_______________________________________________
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] NPTL support
  2005-11-29 21:00 ` Antoine Martin
@ 2005-11-29 23:14   ` Rob Landley
  2005-12-02  0:29   ` Blaisorblade
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Landley @ 2005-11-29 23:14 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Antoine Martin, Jeff Dike, Majid Salame

On Tuesday 29 November 2005 15:00, Antoine Martin wrote:
> Any fix for the GCC errors on arch/um/include/sysdep/stub.h would be
> much appreciated (I have to compile on these hosts to be able to use the
> pcap network driver):
>   CC      arch/um/kernel/skas/clone.o
> arch/um/kernel/skas/clone.c: In function `stub_clone_handler':
> arch/um/include/sysdep/stub.h:41: error: can't find a register in class
> `BREG' while reloading `asm'

I'm beginning to think that arch/um/kernel/skas/clone.c is cursed.

Rob

(It offended some gypsy lady, long ago, by walking under her ladder which was 
made entirely of mirrors that had been broken by a black cat.  That sort of 
thing can cause extreme and profound non-portability, you know.)
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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] NPTL support
  2005-11-29 21:00 ` Antoine Martin
  2005-11-29 23:14   ` Rob Landley
@ 2005-12-02  0:29   ` Blaisorblade
  1 sibling, 0 replies; 4+ messages in thread
From: Blaisorblade @ 2005-12-02  0:29 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Antoine Martin, Jeff Dike, Majid Salame

On Tuesday 29 November 2005 22:00, Antoine Martin wrote:
> > >  Is NPTL supported and working? Are there separate patches to be
> >
> > applied
> >
> > > against 2.6.10 kernel?
> >
> > My current patchset, against 2.5.15-rc1, is running current Debian and
> > FC4
> > filesystems without any apparent problems.
> >
> >                                 Jeff
>
> I thought that last time I failed to build it, Gentoo was to blame so I
> tried again today on an amd64 FC4 host, and that worked for i386.
> Again, I had to delete the empty files to get that far.

> I also had to remove 3-level page tables option

x86_64 or x86? The latter has almost never really worked well...

> , otherwise I get this: 
>   HOSTCC  scripts/bin2c
>   CC      init/main.o
> In file included from include/asm/pgtable.h:30,
>                  from include/linux/bootmem.h:7,
>                  from init/main.c:30:
> include/asm/pgtable-3level.h: In function ‘pud_clear’:
> include/asm/pgtable-3level.h:74: warning: implicit declaration of
> function ‘set_64bit’
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
> (...) Lots more warnings about set_64bit... Then the build fails.

> Any fix for the GCC errors on arch/um/include/sysdep/stub.h would be
> much appreciated (I have to compile on these hosts to be able to use the
> pcap network driver):
>   CC      arch/um/kernel/skas/clone.o
> arch/um/kernel/skas/clone.c: In function `stub_clone_handler':
> arch/um/include/sysdep/stub.h:41: error: can't find a register in class
> `BREG' while reloading `asm'
> arch/um/include/sysdep/stub.h:62: error: can't find a register in class
> `BREG' while reloading `asm'
> arch/um/include/sysdep/stub.h:51: error: can't find a register in class
> `BREG' while reloading `asm'
> arch/um/include/sysdep/stub.h:84: error: can't find a register in class
> `BREG' while reloading `asm'
> make[2]: *** [arch/um/kernel/skas/clone.o] Error 1
> make[1]: *** [arch/um/kernel/skas] Error 2
> make: *** [arch/um/kernel] Error 2
>
> Or shall I bug the GCC guys?

The problem is (seen on another report too): GCC hardened is compiling that 
code as PIE code (like PIC libraries), so it reserves EBX for usage of the 
GOT table (this is detailed in the SysV i386 ELF ABI docs).

Actually, I know a way to fix it, it's a bit of an hack but should work. 
(I.e., using again a "g" constraint for that parameter and adding a mov %n, 
%%ebx there - but then I should add a clobber for ebx, and maybe GCC could 
still complain).
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&opΜk
_______________________________________________
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:[~2005-12-03  2:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <29D15BBCA340DA4D8146D38B4924FC7A03378F16@zcarhxm0.corp.nortel.com>
2005-11-28 18:27 ` [uml-devel] NPTL support Jeff Dike
     [not found] <20051129162801.4474EF3DC@sc8-sf-spam2.sourceforge.net>
2005-11-29 21:00 ` Antoine Martin
2005-11-29 23:14   ` Rob Landley
2005-12-02  0:29   ` Blaisorblade

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.