> Op 21 okt. 2017, om 20:04 heeft Pol Vangheluwe <[email protected]> 
> het volgende geschreven:
> 
> 
>> Op 27 sep. 2017, om 08:25 heeft Pierre Labastie <[email protected]> 
>> het volgende geschreven:
>>> 
> (…)
>> 
>> You are right, earlier versions had:
>> 
>> for file in \
>> $(find gcc/config -name linux64.h -o -name linux.h -o -name sysv4.h)
>> do ...
>> 
>> The change occurred between 7.10 and 8.0.
>> 
>> Pierre
> 
> I had to apply the same change for the pass-2 compilation of gcc.

(…)

The next problem occurred with the build of 6.9. Glibc-2.26, where the case 
construct to determine the include directory only targets the ix64 architecture.
I added this section for my PowerPC G4:

case $(uname -m) in
(…)
    ppc)    GCC_INCDIR=/usr/lib/gcc/powerpc-unknown-linux-gnu/7.2.0/include
            ln -sfv ld.so.1 /lib/ld-lsb.so.3
    ;;
esac

This was based on thr following observations:
- for the include line:

lfs_ppc125 [ ~ ]$ ls -l /tools/lib/gcc
totaal 8
drwxr-xr-x 3 root root 4096 29 okt 03:47 powerpc-unknown-linux-gnu
drwxr-xr-x 3 root root 4096 29 okt 00:42 ppc-lfs-linux-gnu

- for the LSB line (as done in CLFS):

lfs_ppc125 [ ~ ]$ LINKER=$(readelf -l /tools/bin/bash | sed -n 
's@.*interpret.*/tools\(.*\)]$@\1@p')
lfs_ppc125 [ ~ ]$ echo $LINKER
/lib/ld.so.1

I could successfully finish the build of glibc with these additions.
But the jhalfs script fails in the section “Adding Time Zone Data”.  The 
logfile tells:

/jhalfs/lfs-commands/chapter06/076-glibc: line 90: 15079 Segmentation fault     
 (core dumped) zic -L /dev/null -d $ZONEINFO -y “sh yearistype.sh" ${tz}

There is a problem with the freshly compiled ‘zic’ program.  I also get lots of 
segmentation faults when I try to manually complete the glibc section.

Any idea what the problem may be?
This looks anyway OK:

lfs_ppc125 [ /mnt/build_dir/jhalfs/logs ]$ readelf -l $LFS/usr/sbin/zic | grep 
interpreter
      [Requesting program interpreter: /lib/ld.so.1]

pvg
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to