All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: eglibc sysroot
       [not found]     ` <alpine.OSX.2.00.1010131102470.285@localhost>
@ 2010-10-13 16:59       ` Thorsten Glaser
  2010-10-14 11:36         ` Thorsten Glaser
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Glaser @ 2010-10-13 16:59 UTC (permalink / raw)
  To: linux-m68k; +Cc: 598893

Finn Thain dixit:

>I guess you patched your compilers as discussed on linux-m68k?

Interestingly enough, I was not hit by GCC PR/41302 because I built
with CONFIG_ARCH_WANT_FRAME_POINTERS=y and CONFIG_FRAME_POINTER=y
to work around GCC PR/37052 already which defines not only
-fno-omit-frame-pointer but also -fno-optimize-sibling-calls ☺

Trying again now, thanks to Stephen’s commit in the Debian Kernel svn.

bye,
//mirabilos
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt

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

* Re: eglibc sysroot
  2010-10-13 16:59       ` eglibc sysroot Thorsten Glaser
@ 2010-10-14 11:36         ` Thorsten Glaser
  2010-10-14 12:11           ` Finn Thain
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Glaser @ 2010-10-14 11:36 UTC (permalink / raw)
  To: linux-m68k

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

Dixi quod…

>Trying again now, thanks to Stephen’s commit in the Debian Kernel svn.

Works, as seen on #debian-68k on OFTC.

13:25⎜<mira> [    0.000000] Linux version 2.6.32-5+m68k.1-atari (Debian 2.6.32-24+m68k.1) (tg@mirbsd.de)
     ⎜    (gcc version 4.3.4 (Debian 4.3.4-10+m68k) ) #1 Thu Oct 14 08:10:30 UTC 2010
13:25⎜<mira> [    0.000000] Kernel command line: root=/dev/hda1 console=tty debug=par video=atafb:vga2
     ⎜    BOOT_IMAGE=vmlinux
13:26⎜<mira> [    4.590000] /root/linux-2.6-2.6.32/debian/build/source_m68k_none/drivers/rtc/hctosys.c:
     ⎜    unable to open rtc device (rtc0)
13:27⎜<mira> root@aranym:~ # uname -a
13:27⎜<mira> Linux aranym.mirbsd.org 2.6.32-5+m68k.1-atari #1 Thu Oct 14 08:10:30 UTC 2010 m68k GNU/Linux
13:27⎜<mira> \o/

https://www.freewrt.org/~tg/aradebs/dists/notls/unreleased/Pkgs/kernel/

Is there a simple TLS test programme I can run before extracting the
eglibc sysroot and building gcc, to see whether the Linux kernel is
working as expected?

Stephen: please look at the .dsc from the above URI, I had not only
to revert the commit disabling the m68k/fp series but also to remove
one and fix two others. (Furthermore – very interesting – ulimit -n
1024 was not enough…)

Note, while the kernel is in “uploadable” quality I won’t do so, as
I disabled all flavours but atari for quicker test cycles. You can
pull it from that repo though. It’s signed by:
pub   2048R/405422DD 2008-09-06 Thorsten Glaser (Package signing key for wtf debs) <tg@freewrt.org>
 Primary key fingerprint: 8955 B26D 1CB5 DDB6 519F  A02D F7E9 74E9 4054 22DD

Next steps:
• build gcc-4.4 b-d (they tightened binutils again)
• extract sysroot
• install updated linux-headers-*.deb and friends over that
• build gcc-4.4 with TLS support, hopefully…

bye,
//mirabilos
- -- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MirBSD)

iQIVAwUBTLbrVna1NLLpkAfgAQkVShAAixGehC7qGDNzNG6I6jPF7ovLN0So/PWt
7EiDH7QG21y5RY2t3NiRoRzDhzmfrJMmu0v6tkL0cYT/nYzGFQ1hetW9+EZ4VlBf
qdsKx8Fxt5ZU//VClR/RmF2Jz+v9eEmfF6IQgCr5q7JqjheOBt7VnJNmGaz1eVTP
aAyybg7SBwXelwr9XfWFrt4QVBIjs03zGKSojRvMh9WXhqEmAyhJCqbCfI7y3+OW
nnCvvJjOaQbDzOPh2Ox+11D1no0c1J7XeMNLmRp0WKWNLpTm0M8zyubHC+VUK3CT
7PeKBYyxkfBEfscHz0yGePC+pSW25I/xFHMBY1/rsf8s2QFQQ9PRwhpFKMYp1J7f
sikS0D5Xp+BC70/EptqI1TmyUTfT2cicCfS9prC5XcRXNZoHCXbk6m+cJP73w8Ga
FmOMO2Y9Z75u8lihm0uAi4DEvBsg4LEZYUK3gmcQAmpUGCZbOwGie+1J2HR7FCDx
533gz3tKNmG8P9xFdAxSVLNFVpt/q0iVGTnGKpA6PrwoTfkceG2npnNnQf42kBnA
v1ifcsUPGnFz2im9eOeu8CMlZOfXqVdUXmnwUddv19F3LpPunmu/DZ/ZDBmeBIEE
BSjPkkl9UF/3+KlRPPT+BBa3tGDbMCVL7GpYQvNmHOhwmmcH23ko2Z8b90lDU14m
mEzoWr3fRKU=
=fALF
-----END PGP SIGNATURE-----

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

* Re: eglibc sysroot
  2010-10-14 11:36         ` Thorsten Glaser
@ 2010-10-14 12:11           ` Finn Thain
  0 siblings, 0 replies; 3+ messages in thread
From: Finn Thain @ 2010-10-14 12:11 UTC (permalink / raw)
  To: Thorsten Glaser; +Cc: linux-m68k


On Thu, 14 Oct 2010, Thorsten Glaser wrote:

> 
> Is there a simple TLS test programme I can run before extracting the
> eglibc sysroot and building gcc, to see whether the Linux kernel is
> working as expected?

I don't know of any. Under the NPTL sysroot, you should see this:

$ /lib/libc.so.6
...
Available extensions:
...
	Native POSIX Threads Library by Ulrich Drepper et al

[snip]
> extract sysroot
> install updated linux-headers-*.deb and friends over that

You might want to remove the linux-2.6_2.6.32-23 kernel headers already in 
the sysroot first. (They are courtesy of make headers_install and worked 
fine for my purposes but I don't know how they differ from the 
linux-headers deb.)

Or you could just use the existing headers instead of the linux-headers 
deb until you get the eglibc packages built, at which point you can ditch 
the sysroot and debootstrap.

Finn

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

end of thread, other threads:[~2010-10-14 12:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <alpine.LNX.2.00.1009221445130.7495@nippy.intranet>
     [not found] ` <alpine.OSX.2.00.1010122347280.278@localhost>
     [not found]   ` <Pine.BSM.4.64L.1010121755580.28735@herc.mirbsd.org>
     [not found]     ` <alpine.OSX.2.00.1010131102470.285@localhost>
2010-10-13 16:59       ` eglibc sysroot Thorsten Glaser
2010-10-14 11:36         ` Thorsten Glaser
2010-10-14 12:11           ` Finn Thain

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.