Le 09-10-2014 04:17, Pierre Labastie a écrit :
> Le 09/10/2014 04:23, [email protected] écrit : > >> HI Host : Debian 3.2.60 i686 chapter 5.5.1 The compilation off GCC failed >> The error lines are: ../../gcc-4.9.1/gcc/sched-dep.c : 4804:25: error : >> 'insn' was not declared in this scope ../../gcc-4.9.1/gcc/sched-dep.c : >> 4846:58: error : 'insn' was not declared in this scope these lines are : if >> ((code == MEM) && !DEBUG_INSN_P (insn)) and if ((code == SIGN_EXTRACT || >> code == ZERO_EXTRACT) && !DEBUG_INSN_P (insn)) These lines have been altered >> previously by: sed -i 's/if ((code.*)))/if (1 && !DEBUG_INSN_P (insn))/' >> gcc/sched-deps.c I wandered if I should try again with the original >> sched-dep.c file? thanks for your help > > Hi, > > I think I have built LFS 3 or 4 times with this sed, on different > distros, and it always worked, but your distro seems very old (I think > now Debian is at version 7)... What is the version of the C compiler on > the host? Also, if you have not done so, I suggest that you create and > run the version-check.sh script on page vii. "Host System Requirements" > in the Preface, and that you verify that the required minimum versions > are on your host. > > Regards, > > Pierre I'm sorry, i just pasted the uname -v output. So i run the Debian 7 release. GCC is version 4.7.2-5 I' ve already run the version-check script. Here is the output: bash, version 4.2.37(1)-release /bin/sh -> /bin/bash Binutils: (GNU Binutils for Debian) 2.22 bison (GNU Bison) 2.5 /usr/bin/yacc -> /usr/bin/bison.yacc bzip2, Version 1.0.6, 6-Sept-2010. Coreutils: 8.13 diff (GNU diffutils) 3.2 find (GNU findutils) 4.4.2 GNU Awk 4.0.1 /usr/bin/awk -> /usr/bin/gawk gcc (Debian 4.7.2-5) 4.7.2 g++ (Debian 4.7.2-5) 4.7.2 (Debian EGLIBC 2.13-38+deb7u4) 2.13 grep (GNU grep) 2.12 gzip 1.5 Linux version 3.2.0-4-686-pae ([email protected]) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.60-1+deb7u3 m4 (GNU M4) 1.4.16 GNU Make 3.81 patch 2.6.1 Perl version='5.14.2'; GNU sed version 4.2.1 tar (GNU tar) 1.26 xz (XZ Utils) 5.1.0alpha g++ compilation OK note i've manually change the link /bin/sh as required, because in Debian /bin/sh ->/bin/dash Thanks you Pierre
-- 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
