On 6/18/11 4:14 AM, openwrt-comm...@openwrt.org wrote:
> Author: mirko
> Date: 2011-06-18 13:14:01 +0200 (Sat, 18 Jun 2011)
> New Revision: 27214
> 
> Modified:
>    trunk/toolchain/eglibc/Makefile
> Log:
> [toolchain/eglibc} eglibc in fact can be built with -Os
> 
> Modified: trunk/toolchain/eglibc/Makefile
> ===================================================================
> --- trunk/toolchain/eglibc/Makefile   2011-06-18 07:33:28 UTC (rev 27213)
> +++ trunk/toolchain/eglibc/Makefile   2011-06-18 11:14:01 UTC (rev 27214)
> @@ -52,10 +52,6 @@
>  HOST_BUILD_DIR1:=$(HOST_BUILD_DIR)-initial
>  HOST_BUILD_DIR2:=$(HOST_BUILD_DIR)-final
>  
> -# XXX: {e,}glibc does not build w/ -Os
> -# http://sourceware.org/bugzilla/show_bug.cgi?id=5203
> -EGLIBC_CFLAGS:=$(subst -Os,-O2,$(TARGET_CFLAGS))
> -
>  EGLIBC_CONFIGURE:= \
>       BUILD_CC="$(HOSTCC)" \
>       $(TARGET_CONFIGURE_OPTS) \
> 


I'm seeing a regression:

           printf '"Compiled on a %s %s system on %s.\\n"\n' \
                  "$os" "$version" "`date +%Y-%m-%d`";; \
   *) ;; \
 esac; \
 files="../crypt/Banner ../libidn/Banner ../nptl/Banner ../ports/Banner 
../resolv/Banner";                              \
 if test -n "$files"; then                              \
   printf '"Available extensions:\\n"\n';               \
   sed -e '/^#/d' -e 's/^[[:space:]]*/  /'              \
       -e 's/^\(.*\)$/\"\1\\n\"/' $files;               \
 fi) > 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu/version-info.hT
mv -f 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu/version-info.hT
 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu/version-info.h
rm -f 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu/abi-tag.h.new
sed -e 's/#.*$//' -e '/^[       ]*$/d' ../abi-tags | \
while read conf tagos tagver; do \
  test `expr 'i486-openwrt-linux-gnu' \
             : "$conf"` != 0 || continue; \
  ( echo "$tagos" | \
    sed -e 's/[^0-9xXa-fA-F     ]//' \
        -e 's/^/#define __ABI_TAG_OS /'; \
    echo "#ifndef __ABI_TAG_VERSION"; \
    echo "$tagver" | \
    sed -e 's/[^0-9xXa-fA-F]/ /g' -e 's/ *$//' \
      -e 's/ /,/g' -e 's/^/# define __ABI_TAG_VERSION /'; \
    echo "#endif" ) > 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu/abi-tag.h.new;
 \
done
if test -r 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu/abi-tag.h.new;
 then mv -f 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu/abi-tag.h.new
 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu/abi-tag.h;
 \
else echo >&2 'This configuration not matched in ../abi-tags'; exit 1; fi
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/i386/tcb-offsets.sym \
| i486-openwrt-linux-gnu-gcc -S -o 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/tcb-offsets.hT3
 -std=gnu99 -fgnu89-inline -Wall -Winline -Wwrite-strings -fmerge-all-constants 
-fno-unwind-tables -Wstrict-prototypes -mpreferred-stack-boundary=4     
-I../include 
-I/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/csu
 
-I/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial
 -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i486 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread 
-I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux 
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common 
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 
-I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv
-I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 
-I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix 
-I../sysdeps/posix -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/i486 
-I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. 
-I../libio -I. -nostdinc -isystem 
/home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.12/lib/gcc/i486-openwrt-linux-gnu/4.5.4/include
 -isystem 
/home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.12/lib/gcc/i486-openwrt-linux-gnu/4.5.4/include-fixed
 -isystem 
/home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.12/include
 -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -x 
c - \
        -MD -MP -MF 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/tcb-offsets.h.dT
 -MT 
'/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/tcb-offsets.h.d
 
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/tcb-offsets.h'
cc1: note: someone does not honour COPTS correctly, passed 0 times
In file included from ./../include/libc-symbols.h:54:0,
                 from <command-line>:0:
/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/config.h:3:3:
 error: #error "glibc cannot be compiled without optimization"
make[6]: *** 
[/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial/tcb-offsets.h]
 Error 1
make[6]: Leaving directory 
`/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495/libc/csu'
make[5]: *** [csu/subdir_lib] Error 2
make[5]: Leaving directory 
`/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495/libc'
make[4]: *** [csu/subdir_lib] Error 2
make[4]: Leaving directory 
`/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495-initial'
make[3]: *** 
[/home/philipp/openwrt2/build_dir/toolchain-i386_gcc-linaro_eglibc-2.12/eglibc-2.12-r10495/.prepared]
 Error 2
make[3]: Leaving directory `/home/philipp/openwrt2/toolchain/eglibc'
make[2]: *** [toolchain/eglibc/prepare] Error 2
make[2]: Leaving directory `/home/philipp/openwrt2'
make[1]: *** 
[/home/philipp/openwrt2/staging_dir/toolchain-i386_gcc-linaro_eglibc-2.12/stamp/.toolchain_install]
 Error 2
make[1]: Leaving directory `/home/philipp/openwrt2'
make: *** [world] Error 2
50.823u 23.310s 1:13.81 100.4%  0+0k 0+291184io 0pf+0w

Script done on Sun 19 Jun 2011 08:52:46 PM MDT
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to