[COMMITTED PATCH] Generalize %.v.i rule a bit.

Richard Henderson rth@twiddle.net
Wed Feb 27 01:43:00 GMT 2013


On 2013-02-26 16:10, Roland McGrath wrote:
> I'm using the .v.i magic in a new context, and it doesn't hurt to define
> the rules in the (uncommon) --disable-shared case.

This patch is causing the build to fail.

> mv -f /home/rth/work/libc/bld-nat/shlib-versions.v.iT /home/rth/work/libc/bld-nat/shlib-versions.v.i
> sed '/^[ 	]*#/d;/^[ 	]*$/d' /home/rth/work/libc/bld-nat/shlib-versions.v.i > /home/rth/work/libc/bld-nat/shlib-versions.vT
> mv -f /home/rth/work/libc/bld-nat/shlib-versions.vT /home/rth/work/libc/bld-nat/shlib-versions.v
> gawk -v default_setname='' \
>        -v cpu='x86_64' \
>        -v vendor='unknown' \
>        -v os='linux-gnu' \
>        -f scripts/soversions.awk /home/rth/work/libc/bld-nat/shlib-versions.v > /home/rth/work/libc/bld-nat/soversions.iT
> mv -f /home/rth/work/libc/bld-nat/soversions.iT /home/rth/work/libc/bld-nat/soversions.i
> sed '/^[ 	]*%/!s/#.*$//;/^[ 	]*$/d;s/^[ 	]*%/#/' \
>      \
> | gcc -E -undef    -Iinclude   -I/home/rth/work/libc/bld-nat  -Isysdeps/unix/sysv/linux/x86_64/64/nptl  -Isysdeps/unix/sysv/linux/x86_64/64  -Inptl/sysdeps/unix/sysv/linux/x86_64  -Inptl/sysdeps/unix/sysv/linux/x86  -Isysdeps/unix/sysv/linux/x86  -Isysdeps/unix/sysv/linux/x86_64  -Isysdeps/unix/sysv/linux/wordsize-64  -Inptl/sysdeps/unix/sysv/linux  -Inptl/sysdeps/pthread  -Isysdeps/pthread  -Iports/sysdeps/unix/sysv/linux  -Isysdeps/unix/sysv/linux  -Isysdeps/gnu  -Isysdeps/unix/inet  -Inptl/sysdeps/unix/sysv  -Iports/sysdeps/unix/sysv  -Isysdeps/unix/sysv  -Isysdeps/unix/x86_64  -Inptl/sysdeps/unix  -Iports/sysdeps/unix  -Isysdeps/unix  -Isysdeps/posix  -Inptl/sysdeps/x86_64/64  -Isysdeps/x86_64/64  -Isysdeps/x86_64/fpu/multiarch  -Isysdeps/x86_64/fpu  -Isysdeps/x86/fpu  -Isysdeps/x86_64/multiarch  -Inptl/sysdeps/x86_64  -Isysdeps/x86_64  -Isysdeps/x86  -Isysdeps/ieee754/ldbl-96  -Isysdeps/ieee754/dbl-64/wordsize-64  -Isysdeps/ieee754/dbl-64  -Isysdeps/ieee754/flt-32  -Isysdeps/wo
rdsize-64  -Isysdeps/ieee754  -Isysdeps/generic  -Inptl  -Iports   -Ilibio -I.   -D_LIBC_REENTRANT -include include/libc-symbols.h       -x assembler-with-cpp - \
> 	   > /home/rth/work/libc/bld-nat/Versions.def.v.iT

Note that there's no input to the sed.  It's waiting on stdin.


r~



More information about the Libc-alpha mailing list