Gentoo Archives: gentoo-embedded

From: Jakub Ladman <ladmanj@×××××.cz>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] libgcc
Date: Tue, 28 Feb 2006 11:52:06
Message-Id: 200602281248.39498.ladmanj@volny.cz
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?
Thank you.
Best regards
Jakub ladman

-- 
gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] libgcc "Scott L. Price" <prices@××××××××.com>
Re: [gentoo-embedded] libgcc solar <solar@g.o>