Re: [rock-user] dietlibc build error in trunk

Clifford Wolf <[email protected]> Sun, 20 Mar 2005 11:39:00 +0100
Newsgroups gmane.linux.distributions.rock.user
Message-ID <[email protected]>
Hi Bernd,

On Sat, Mar 19, 2005 at 08:28:33PM +0100, Bernd Petrovitsch wrote:
> I'm trying to build a bootdisk target for AMD64 on a VIA Samuel 2 (no
> special or fancy stuff configured), but it barfs on dietlibc quite
> early:
> ----  snip  ----
> [...]
> bin-x86_64/dietlibc.a: could not read symbols: Archive has no index; run
> ranlib to add one
> collect2: ld returned 1 exit status
> --- BUILD ERROR ---
> ----  snip  ----

oh yes. this is one of the easy-to-fix amd64 problems...  ;-)

I'm still without hardware to do ROCK development (I just have my laptop -
the workstation I'm doing builds, etc. on is still b0rken). Once this
problem is solved (should be in the next days) I will have a deeper look at
implementing the proposed AMD64 -fPIC fix. Once this is done, the number of
remaining amd64 build errors should be low enough so we can make an amd64
bugfix session and simply fix one after each other.

the solution for that one would be to simply patch the 'ranlib' call into the
dietlibc makefile. we have such fixes already in some other packages..

> BTW, uname -a gives
> ----  snip  ----
> Linux erebor 2.6.7-rock #1 SMP Sun Jan 30 23:56:03 CET 2005 i686 unknown
> unknown GNU/Linux
> ----  snip  ----
> Are the two "unknown" a kernel or a RockLinux problem?

It's a generic linux problem. The uname program from GNU coreutils does
print the machine name (i686), processor type (unknown) and hardware
platform (unknown). The problem is that the linux kernel api does only know
about the first one - so the program always prints "unknown" for the other
two values.

yours,
 - clifford

-- 
SSSS PPPP L     The SPL Programming Language
S    P  P L     http://www.clifford.at/spl/
SSSS PPPP L     ----------------------------------------------------
   S P    L     A statefull, simple, small, c-like, object oriented,
SSSS P    LLLL  embeddable, feature rich, dynamic scripting language
 
Unix is the answer, but only if you phrase the question very carefully.

_______________________________________________
rock-user mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFCPVLEPNIEsfpKDdERAlJrAKDHUEHXjyJw/ArWhbZTA7q42WWPzQCgkT3L
8AK30tozaObIB2HoVDW+P0o=
=fjnR
-----END PGP SIGNATURE-----