public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu
@ 2006-07-11 17:42 Jan Girlich
  2006-07-11 20:23 ` Ned Ludd
  2006-07-12  3:44 ` Mike Frysinger
  0 siblings, 2 replies; 8+ messages in thread
From: Jan Girlich @ 2006-07-11 17:42 UTC (permalink / raw
  To: gentoo-embedded

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

I'm trying to install dev-util/quilt-0.42 on my slug but get this error:

gcc -march=armv5te -Os -Wall    lib/backup-files.c   -o lib/backup-files
README.in -> README
mkdir -p $(dirname bin/guards.1)
pod2man bin/guards > bin/guards.1
quilt.1.in -> quilt.1
make -C po all BUILD_ROOT= \
LINGUAS="fr de ja" localedir=/usr/share/locale
make[1]: Entering directory `/var/tmp/portage/quilt-0.42/work/quilt-0.42/po'
msgfmt --statistics -o fr.mo fr.po
make[1]: *** [fr.mo] Segmentation fault
make[1]: Leaving directory `/var/tmp/portage/quilt-0.42/work/quilt-0.42/po'
make: *** [all] Error 2

!!! ERROR: dev-util/quilt-0.42 failed.

I actually don't know what to do now. Not the slightest idea what the
reason or solution would be.

What do you need to tell me what's going wrong?

Thanks in Advance
Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEs+MNvuM9o4Jvd/8RAkx9AJ4z/ICs60875HTgxi//aanqTwPULwCaA5Q8
yyDO8f6fkHmO8HL4oV2k990=
=QBFN
-----END PGP SIGNATURE-----
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu
  2006-07-11 17:42 [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu Jan Girlich
@ 2006-07-11 20:23 ` Ned Ludd
  2006-07-12  3:44 ` Mike Frysinger
  1 sibling, 0 replies; 8+ messages in thread
From: Ned Ludd @ 2006-07-11 20:23 UTC (permalink / raw
  To: gentoo-embedded

Bugs are normally handled via https://bugs.gentoo.org
You should assign it to arm@ 

Our embedded@ team does not support native compiles of glibc, 
toolchain@ does however as native compiles of glibc is normal 
gentoo linux for all intensive purposes.

Good luck.


On Tue, 2006-07-11 at 19:42 +0200, Jan Girlich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi list,
> 
> I'm trying to install dev-util/quilt-0.42 on my slug but get this error:
> 
> gcc -march=armv5te -Os -Wall    lib/backup-files.c   -o lib/backup-files
> README.in -> README
> mkdir -p $(dirname bin/guards.1)
> pod2man bin/guards > bin/guards.1
> quilt.1.in -> quilt.1
> make -C po all BUILD_ROOT= \
> LINGUAS="fr de ja" localedir=/usr/share/locale
> make[1]: Entering directory `/var/tmp/portage/quilt-0.42/work/quilt-0.42/po'
> msgfmt --statistics -o fr.mo fr.po
> make[1]: *** [fr.mo] Segmentation fault
> make[1]: Leaving directory `/var/tmp/portage/quilt-0.42/work/quilt-0.42/po'
> make: *** [all] Error 2
> 
> !!! ERROR: dev-util/quilt-0.42 failed.
> 
> I actually don't know what to do now. Not the slightest idea what the
> reason or solution would be.
> 
> What do you need to tell me what's going wrong?
> 
> Thanks in Advance
> Jan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.4 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEs+MNvuM9o4Jvd/8RAkx9AJ4z/ICs60875HTgxi//aanqTwPULwCaA5Q8
> yyDO8f6fkHmO8HL4oV2k990=
> =QBFN
> -----END PGP SIGNATURE-----
-- 
Ned Ludd <solar@gentoo.org>
Gentoo Linux

-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu
  2006-07-11 17:42 [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu Jan Girlich
  2006-07-11 20:23 ` Ned Ludd
@ 2006-07-12  3:44 ` Mike Frysinger
  2006-07-12 22:39   ` Jan Girlich
  1 sibling, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2006-07-12  3:44 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Jan Girlich

[-- Attachment #1: Type: text/plain, Size: 283 bytes --]

On Tuesday 11 July 2006 13:42, Jan Girlich wrote:
> I'm trying to install dev-util/quilt-0.42 on my slug but get this error:

so i guess you're byte swapping huh

not that it really matters, ive never tested softfloat/glibc so at the moment, 
you're really on your own
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

* Re: [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu
  2006-07-12  3:44 ` Mike Frysinger
@ 2006-07-12 22:39   ` Jan Girlich
  2006-07-14  3:37     ` Mike Frysinger
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Girlich @ 2006-07-12 22:39 UTC (permalink / raw
  To: gentoo-embedded

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Frysinger schrieb:
> On Tuesday 11 July 2006 13:42, Jan Girlich wrote:
>> I'm trying to install dev-util/quilt-0.42 on my slug but get this error:
> 
> so i guess you're byte swapping huh

I guess so ;)

my workaround is to use a cross-compilie-env on my x86-desktop. Seems to
work so far. At least I (the Makefile) used quilt to compile my kernel
which doesn't want to boot properly. No (serial-)console or similar, so
I just can guess what's wrong... :(

Jan

PS: I have this "you're on your own"-feeling since I began to play
around with my slug the way I want ;)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtXoevuM9o4Jvd/8RAmd0AJ9ojhNK1zNRm2T4tAzvDkU2pGIfOQCeNSSj
07XxaXYULgV8pK1gupXuNks=
=iQEx
-----END PGP SIGNATURE-----
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu
  2006-07-12 22:39   ` Jan Girlich
@ 2006-07-14  3:37     ` Mike Frysinger
  2006-07-15  9:25       ` Jan Girlich
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2006-07-14  3:37 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Jan Girlich

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

On Wednesday 12 July 2006 18:39, Jan Girlich wrote:
> my workaround is to use a cross-compilie-env on my x86-desktop.

sure, that's how i did a bunch of ports:
armeb/uclibc
armeb/uclibc/softfloat
ppc/uclibc/softfloat
sh4/uclibc
sh4/glibc

> At least I (the Makefile) used quilt to compile my kernel
> which doesn't want to boot properly.

try doing:
svn co http://svn.nslu2-linux.org/svnroot/kernel
then run `make` in the trunk to build up a kernel

> No (serial-)console or similar, so 
> I just can guess what's wrong... :(

a lot saner on your nerves if you boot up one of the stock firmwares first, 
develop Gentoo in a chroot, and then move your system over to that once you 
know it's working

> PS: I have this "you're on your own"-feeling since I began to play
> around with my slug the way I want ;)

i have no problems merging stuff back ... it isnt that i dont want to see an 
armeb/glibc port, it's just a very very low priority in the pool of ports
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

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

* Re: [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu
  2006-07-14  3:37     ` Mike Frysinger
@ 2006-07-15  9:25       ` Jan Girlich
  2006-07-15 14:38         ` Anish Patel
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Girlich @ 2006-07-15  9:25 UTC (permalink / raw
  To: gentoo-embedded

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Frysinger schrieb:
> On Wednesday 12 July 2006 18:39, Jan Girlich wrote:
>> At least I (the Makefile) used quilt to compile my kernel
>> which doesn't want to boot properly.
> 
> try doing:
> svn co http://svn.nslu2-linux.org/svnroot/kernel
> then run `make` in the trunk to build up a kernel

This is exactly what I did. But this Makefile needs quilt. After
emerging quilt on my desktop this is fine.

The next problem was -mabi=apcs-gnu which is used but not supported by
gcc-3.4.6. Unfortunately I couldn't find out much about what this flag
does and means and so on, so I just commented it out and compiled the
kernel with `make CFLAGS_ETC=`
This works so far. But at the end there are a lot of warnings about
ixp400_eth.ko like these:
WARNING: "ixEthAccPortRxFreeReplenish"
[/root/kernel/trunk/ixp400_eth/ixp400_eth.ko] undefined!
WARNING: "ixOsalMbufFree" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
undefined!
WARNING: "ixOsalMbufAlloc" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
undefined!
WARNING: "ixOsalIrqUnlock" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
undefined!
WARNING: "ixOsalIrqLock" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
undefined!

>> No (serial-)console or similar, so 
>> I just can guess what's wrong... :(
> 
> a lot saner on your nerves if you boot up one of the stock firmwares first, 
> develop Gentoo in a chroot, and then move your system over to that once you 
> know it's working

I try doing it this way. My system is developed in a chroot. But you got
me to the idea to boot e.g. a stock debian kernel which will then boot
my gentoo just to be sure that my gentoo init is sane. Then I will just
change the kernel to the one I want.

>> PS: I have this "you're on your own"-feeling since I began to play
>> around with my slug the way I want ;)
> 
> i have no problems merging stuff back ... it isnt that i dont want to see an 
> armeb/glibc port, it's just a very very low priority in the pool of ports

I already started to describe what I did on gentoo-wiki.com. Just
started, so I'd be embarrassed to tell the link :)

Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEuLSSvuM9o4Jvd/8RAoxjAJ96aTd0OAbiZvZF6rRX9jvvaAWvsACfRsA9
b4kOO0wH4nkDR8qoXzUuIkM=
=H3Bs
-----END PGP SIGNATURE-----
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu
  2006-07-15  9:25       ` Jan Girlich
@ 2006-07-15 14:38         ` Anish Patel
  2006-07-18 16:44           ` Jan Girlich
  0 siblings, 1 reply; 8+ messages in thread
From: Anish Patel @ 2006-07-15 14:38 UTC (permalink / raw
  To: gentoo-embedded

Jan Girlich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mike Frysinger schrieb:
>> On Wednesday 12 July 2006 18:39, Jan Girlich wrote:
>>> At least I (the Makefile) used quilt to compile my kernel
>>> which doesn't want to boot properly.
>> try doing:
>> svn co http://svn.nslu2-linux.org/svnroot/kernel
>> then run `make` in the trunk to build up a kernel
> 
> This is exactly what I did. But this Makefile needs quilt. After
> emerging quilt on my desktop this is fine.
> 
> The next problem was -mabi=apcs-gnu which is used but not supported by
> gcc-3.4.6. Unfortunately I couldn't find out much about what this flag
> does and means and so on, so I just commented it out and compiled the
> kernel with `make CFLAGS_ETC=`
> This works so far. But at the end there are a lot of warnings about
> ixp400_eth.ko like these:
> WARNING: "ixEthAccPortRxFreeReplenish"
> [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko] undefined!
> WARNING: "ixOsalMbufFree" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
> undefined!
> WARNING: "ixOsalMbufAlloc" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
> undefined!
> WARNING: "ixOsalIrqUnlock" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
> undefined!
> WARNING: "ixOsalIrqLock" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
> undefined!
do you have the intel CSR crap installed? you need those to properly 
build the ethernet module, you'll still get these warning as those 
symbols are defined in the ixp400.ko that is built from intels CSR's.

>>> No (serial-)console or similar, so 
>>> I just can guess what's wrong... :(
>> a lot saner on your nerves if you boot up one of the stock firmwares first, 
>> develop Gentoo in a chroot, and then move your system over to that once you 
>> know it's working

is there not a place to add a serial port on the NSLU2?  i believe there 
is, check the nslu2 website.
-- 
gentoo-embedded@gentoo.org mailing list



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

* Re: [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu
  2006-07-15 14:38         ` Anish Patel
@ 2006-07-18 16:44           ` Jan Girlich
  0 siblings, 0 replies; 8+ messages in thread
From: Jan Girlich @ 2006-07-18 16:44 UTC (permalink / raw
  To: gentoo-embedded

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anish Patel schrieb:
> Jan Girlich wrote:
>> This works so far. But at the end there are a lot of warnings about
>> ixp400_eth.ko like these:
>> WARNING: "ixEthAccPortRxFreeReplenish"
>> [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko] undefined!
>> WARNING: "ixOsalMbufFree" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
>> undefined!
>> WARNING: "ixOsalMbufAlloc" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
>> undefined!
>> WARNING: "ixOsalIrqUnlock" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
>> undefined!
>> WARNING: "ixOsalIrqLock" [/root/kernel/trunk/ixp400_eth/ixp400_eth.ko]
>> undefined!
> do you have the intel CSR crap installed? you need those to properly
> build the ethernet module, you'll still get these warning as those
> symbols are defined in the ixp400.ko that is built from intels CSR's.

I'm not sure. The make script does a lot of things all for itself. At
least those files are needed:
BSD_ixp400AccessLibrary-2_1_1.zip
IPL_ixp400AccessLibrary-2_1.zip
BSD_ixp400AccessLibrary-2_1.zip
IPL_ixp400NpeLibrary-2_1.zip
GPL_ixp400LinuxEthernetDriverPatch-1_5_1.zip
GPL_ixp400LinuxEthernetDriverPatch-1_5.zip
linux-2.6.17.tar.bz2

Doesn't look like "CSR". Actually I even don't know what "CSR" is. :)
But the module ixp400.ko gets build, so I assume everything is fine.

> is there not a place to add a serial port on the NSLU2?  i believe there
> is, check the nslu2 website.

Yes, there is. But you have to do some things to add a serial console.
And you'll need a soldering iron. Maybe later this year I will invest
some time in this matter. For now I am happy with some people who
sporadically will test my kernels on their slug. :)

Bye
Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvQ/WvuM9o4Jvd/8RAkq4AJwNksvgWGNtzyjDta6iG2vyyEl3/gCeMVQ0
UL6YiTT86t1TiuQv5eGiHEg=
=iZQv
-----END PGP SIGNATURE-----
-- 
gentoo-embedded@gentoo.org mailing list



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

end of thread, other threads:[~2006-07-18 16:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-11 17:42 [gentoo-embedded] quilt on little endian arm-softfloat-linux-gnu Jan Girlich
2006-07-11 20:23 ` Ned Ludd
2006-07-12  3:44 ` Mike Frysinger
2006-07-12 22:39   ` Jan Girlich
2006-07-14  3:37     ` Mike Frysinger
2006-07-15  9:25       ` Jan Girlich
2006-07-15 14:38         ` Anish Patel
2006-07-18 16:44           ` Jan Girlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox