Re: [lfs-support] LFS for mips64

2013-10-07 Thread John Anderson


Hi,
I have successfully built an uclibc (o32) system with my yeeloong 8089_D (with 
gentoo (uclibc tarball) as host). I want to contribut somehow for example as a 
tester.
 
n32, n64 with glibc failed too, but I don't have any logs to provide. I'll keep 
them the next time I try such a build.

Gesendet: Sonntag, 06. Oktober 2013 um 16:45 Uhr
Von: "William Harrington" 
An: lfs-support@linuxfromscratch.org
Betreff: Re: [lfs-support] LFS for mips64
On Sun, 6 Oct 2013 10:03:52 +0200
Graham Crowe  wrote:

> I recently purchased a Yeeloong Notebook from Lemote, 
> http://www.lemote.com/en/products/Notebook/2010/0310/112.html, and I'm 
> attempting to follow the LFS guide. I'm having problems during chapter 5.
>
> On my first attempt the result from the test in Glibc2.18 (chapter 5.7) was 
> not quite as specified:
> it was:
>
> [Requesting program interpreter: /tools/lib32/ld-linux.so.2]
> instead of:
>
> [Requesting program interpreter: /tools/lib/ld-linux.so.2]

You have to be careful when using LFS for certain targets.

MIPS64 is one of those.

/lib for o32
/lib32 for n32
/lib64 for n64

I suggest you look at CLFS for building for MIPS64, and we also need testers 
for it as we release in on Oct 15.

LFS isn't setup to build for mips because of that exact issue up there. Look at 
the different targets for mips in CLFS 
http://trac.cross-lfs.org[http://trac.cross-lfs.org] in development.

--
William Harrington 
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support[http://linuxfromscratch.org/mailman/listinfo/lfs-support]
FAQ: 
http://www.linuxfromscratch.org/lfs/faq.html[http://www.linuxfromscratch.org/lfs/faq.html]
Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS for mips64

2013-10-06 Thread William Harrington
On Sun, 6 Oct 2013 10:03:52 +0200
Graham Crowe  wrote:

> I recently purchased a Yeeloong Notebook from Lemote, 
> http://www.lemote.com/en/products/Notebook/2010/0310/112.html, and I'm 
> attempting to follow the LFS guide. I'm having problems during chapter 5.
> 
> On my first attempt the result from the test in Glibc2.18 (chapter 5.7) was 
> not quite as specified:
> it was:
> 
>   [Requesting program interpreter: /tools/lib32/ld-linux.so.2]
> instead of:
> 
>   [Requesting program interpreter: /tools/lib/ld-linux.so.2]

You have to be careful when using LFS for certain targets.

MIPS64 is one of those.

/lib for o32
/lib32 for n32
/lib64 for n64

I suggest you look at CLFS for building for MIPS64, and we also need testers 
for it as we release in on Oct 15.

LFS isn't setup to build for mips because of that exact issue up there. Look at 
the different targets for mips in CLFS http://trac.cross-lfs.org in development.

-- 
William Harrington 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] LFS for mips64

2013-10-06 Thread Graham Crowe
Hi LFS TeamI recently purchased a Yeeloong Notebook from Lemote, http://www.lemote.com/en/products/Notebook/2010/0310/112.html, and I'm attempting to follow the LFS guide. I'm having problems during chapter 5.On my first attempt the result from the test in Glibc2.18 (chapter 5.7) was not quite as specified:it was:  [Requesting program interpreter: /tools/lib32/ld-linux.so.2]instead of:  [Requesting program interpreter: /tools/lib/ld-linux.so.2]I proceeded but the configure stage of Binutils-2.23.2 - Pass 2 (chapter 5.9) failed due to compiled code not being executable (unfortunately I no longer have the  config.log for this). At this point I made and compiled a simple hello world and tried to run it, that failed and running the file utility on the binary resulted in:  hello: ELF 32-bit MSB executable, MIPS, N32 MIPS-III version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not strippedSo I made a second attempt to reproduce the fault, but although the test in chapter 7 gave the same result as my first attempt chapter 5.9 appeared to build configure and build successfully. However GCC-4.8.1-Pass 2 (chapter 10) definitely failed, but only after 2.5 hours, complaining about endianess, so something is very wrong. I've attached the config.log for GCC-4.8.1-Pass 2 (chapter 10) and the last few lines of the { make && make install; } step. The gentoo host only has xterm and I haven't figured out how to log the stdout so the quality of the make output is not so good, so some tips for logging would be helpful./tools/mips64el-unknown-linux-gnu/bin/ld: Please report this bug.collect2:error: ld returned 1 exit statusmake[2]: *** [libgcc_s.so] Error 1make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/mips64el-unknown-linux-gnu/libgcc'make[2]: *** [all-target-libgcc] Error 2make[2]: Leaving directory `/mnt/lfs/sources/gcc-build'make[2]: *** [all] Error 2real    262m58.707suser   202m21.499ssys     12m55.740sI think that the root problem occurred during Glibc2.18 (chapter 5.7) and that I need to prepare something for the mips64 architecture, but I'm not really sure what to do next.Best RegardsGrahamBook Version:LFS-BOOK-7.4Host distribution & version:gentoo/experimental/mips/desktop-loongson2f/desktop-loongson2f-hardened-20130124.tar.lzmaHost System Requirements:bash, version 4.2.42(1)-release/bin/sh -> /bin/bashBinutils: (GNU Binutils) 2.22bison (GNU Bison) 2.7/usr/bin/yacc -> /usr/bin/yacc.bisonbzip2,  Version 1.0.6, 6-Sept-2010.Coreutils:  8.20diff (GNU diffutils) 3.2find (GNU findutils) 4.5.10GNU Awk 4.0.2/usr/bin/awk -> /usr/bin/gawkgcc (Gentoo Hardened 4.6.3 p1.3, pie-0.5.3) 4.6.3g++ (Gentoo Hardened 4.6.3 p1.3, pie-0.5.3) 4.6.3(GNU libc) 2.15grep (GNU grep) 2.14gzip 1.5Linux version 3.5.4 (root@east) (gcc version 4.6.3 (Gentoo 4.6.3 p1.3, pie-0.5.1) ) #2 PREEMPT Thu Sep 27 16:22:14 Local time zone must be set--see m4 (GNU M4) 1.4.16GNU Make 3.82GNU patch 2.7.1Perl version='5.12.4';sed (GNU sed) 4.2.2tar (GNU tar) 1.26Texinfo: makeinfo (GNU texinfo) 4.13xz (XZ Utils) 5.0.4g++ compilation OK

config.log
Description: Binary data
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page