Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: solar <solar@g.o>
Subject: Re: libgcc
Date: Tue, 28 Feb 2006 12:20:10 -0500
On Tue, 2006-02-28 at 12:48 +0100, Jakub Ladman wrote:
> Hi there
> 
> I have done
> 
> crossdev -t sh4-pc-linux-uclibc
> 
> then created this script
> 
> trotl ladmanj # cat memerge
> #!/bin/bash
> 
> ARCH=sh4
> ACCEPT_KEYWORDS="-x86 -~x86 sh ~sh"
> ROOT="/home/ladmanj/work_projects/sh4prj"
> CFLAGS="-Os -pipe"
> CXXFLAGS="${CFLAGS}"
> LDFLAGS="-L${ROOT}/lib -L${ROOT}/usr/lib"
> CBUILD=i686-pc-linux-gnu
> CHOST=sh4-pc-linux-uclibc
> CTARGET=sh4-pc-linux-uclibc
> CC=sh4-pc-linux-uclibc-gcc
> CXX=sh4-pc-linux-uclibc-g++
> PKGDIR=/usr/portage/packages/sh4
> USE="-* -X -kde -gnome -glibc uclibc make-symlinks"
> 
> export ARCH ACCEPT_KEYWORDS CFLAGS CXXFLAGS LDFLAGS ROOT CBUILD CHOST CTARGET 
> CC CXX PKGDIR USE
> 
> emerge -b $*
> trotl ladmanj #       
> 
> then 
> 
> ./memerge -va sys-libs/uclibc busybox baselayout-lite zlib dropbear tinylogin 
> tar bzip2 gzip
> 
> Everything was merged succesfully, but when i am trying to boot it at my sh4 
> powered board i get this message.
> 
> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 68k freed
> init: can't load library 'libgcc_s.so.1'
> Kernel panic: Attempted to kill init!
> 
> 
> Can you help me? What must i emerge to fulfil the needs?


libgcc comes from gcc of course. It's a tricky one also because gcc is 
surely something you wont want on flash.
Now depending on the device/arch in question sometimes libgcc.so is 
needed by every single application.
I think the ideal way to work around this one for you will be something 
like touching the file /etc/portage/root_install_mask and slowly keep 
adding everything (glob*) in that file which is not the library in 
question.

Also. because you have busybox installed you should not need to add the 
additional gzip/bzip2/tinylogin as bb can and does provide all of that 
functionality as well.

good luck.



-- 
solar <solar@g.o>
Gentoo Linux

-- 
gentoo-embedded@g.o mailing list


References:
libgcc
-- Jakub Ladman
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: libgcc
Next by thread:
Error while installing dillo
Previous by date:
Re: libgcc
Next by date:
Re: libgcc


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.