So far I've been able to find all my mistakes, but not this time.  Seems
like I've got messed up headers, but I haven't diddled the source
package!  The operative bit of my script is (TIA):
patch -Np1 -i ../patches/glibc-2.21-fhs-1.patch &&
sed -e '/ia32/s/^/1:/' -e '/SSE2/s/^1://' \
    -i  sysdeps/i386/i686/multiarch/mempcpy_chk.S &&
mkdir -v ../glibc-build &&
cd ../glibc-build &&
(../glibc-2.21/configure --prefix=/usr --disable-profile
--enable-obsolete-rpc \
  --enable-kernel=2.6.32 2>&1 | tee log.conf) &&
# there is a great deal to do, running too many jobs in parallel could
# run into hardware limits, e.g. RAM, so cut back
(make -j 4 2>&1 | tee log.make) &&
(make -k check 2>&1 | tee log.test) &&
...
That seems to me to follow the book.

This happens in log.make:

gawk -f ../scripts/gen-as-const.awk ../sysdeps/x86_64/link-defines.sym \
| gcc -S -o /usr/local/src/glibc-build/link-defines.hT3 -std=gnu99
-fgnu89-inline  -Wall -Werror -Winline -Wno-error=undef -Wundef
-Wwrite-strings -fmerge-all-constants -frounding-math -march=x86-64
-Wstrict-prototypes          -I../include
-I/usr/local/src/glibc-build/csu  -I/usr/local/src/glibc-build 
-I../sysdeps/unix/sysv/linux/x86_64/64 
-I../sysdeps/unix/sysv/linux/x86_64  -I../sysdeps/unix/sysv/linux/x86 
-I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/x86_64/nptl 
-I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux 
-I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu 
-I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/x86_64
 -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/x86_64/64 
-I../sysdeps/x86_64/fpu/multiarch  -I../sysdeps/x86_64/fpu 
-I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu 
-I../sysdeps/x86_64/multiarch  -I../sysdeps/x86_64  -I../sysdeps/x86 
-I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64/wordsize-64 
-I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32 
-I../sysdeps/wordsize-64  -I../sysdeps/ieee754  -I../sysdeps/generic 
-I.. -I../libio -I.   -D_LIBC_REENTRANT -include
/usr/local/src/glibc-build/libc-modules.h -DMODULE_NAME=libc -include
../include/libc-symbols.h       -x c - \
        -MD -MP -MF /usr/local/src/glibc-build/link-defines.h.dT -MT
        '/usr/local/src/glibc-build/link-defines.h.d
        /usr/local/src/glibc-build/link-defines.h'
In file included from ./../include/libc-symbols.h:60:0,
                 from <command-line>:0:
/usr/local/src/glibc-build/config.h:4:3: error: #error "glibc cannot be
compiled without optimization"
 # error "glibc cannot be compiled without optimization"
   ^
In file included from ./../include/libc-symbols.h:60:0,
                 from <command-line>:0:
/usr/local/src/glibc-build/config.h:4:3: error: #error "glibc cannot be
compiled without optimization"
 # error "glibc cannot be compiled without optimization"
   ^
In file included from ./../include/libc-symbols.h:60:0,
                 from <command-line>:0:
/usr/local/src/glibc-build/config.h:4:3: error: #error "glibc cannot be
compiled without optimization"
 # error "glibc cannot be compiled without optimization"

---8<...

make[2]: *** [/usr/local/src/glibc-build/ucontext_i.h] Error 1
make[2]: *** Waiting for unfinished jobs....
../Makerules:190: recipe for target
'/usr/local/src/glibc-build/ifunc-defines.h' failed
make[2]: *** [/usr/local/src/glibc-build/ifunc-defines.h] Error 1
../Makerules:190: recipe for target
'/usr/local/src/glibc-build/tcb-offsets.h' failed
make[2]: *** [/usr/local/src/glibc-build/tcb-offsets.h] Error 1
../Makerules:190: recipe for target
'/usr/local/src/glibc-build/link-defines.h' failed
make[2]: *** [/usr/local/src/glibc-build/link-defines.h] Error 1
make[2]: Leaving directory '/usr/local/src/glibc-2.21/csu'
Makefile:213: recipe for target 'csu/subdir_lib' failed
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory '/usr/local/src/glibc-2.21'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2

-- 
Paul Rogers
[email protected]
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL
:-)

        

-- 
http://www.fastmail.com - Faster than the air-speed velocity of an
                          unladen european swallow

-- 
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