Date: Sun, 17 Jul 2011 19:41:23 GMT From: Marcin Cieslak <saper@saper.info> To: FreeBSD-gnats-submit@FreeBSD.org Cc: stas@FreeBSD.org Subject: ports/159001: devel/cross-gcc: 4.5.2 libiberty fails on missing sys/sysctl.h Message-ID: <201107171941.p6HJfNG9048567@radziecki.saper.info> Resent-Message-ID: <201107171950.p6HJo852035096@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 159001 >Category: ports >Synopsis: devel/cross-gcc: 4.5.2 libiberty fails on missing sys/sysctl.h >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 17 19:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Marcin Cieslak >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD radziecki.saper.info 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r219785M: Mon Mar 21 11:40:40 CET 2011 saper@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64 >Description: /usr/obj/usr/ports/devel/cross-gcc/work/build/./gcc/xgcc -B/usr/obj/usr/ports/devel/cross-gcc/work/build/./gcc/ -nostdinc -B/usr/obj/usr/ports/devel/cross-gcc/work/build/arm-elf/newlib/ -isystem /usr/obj/usr/ports/devel/cross-gcc/work/build/arm-elf/newlib/targ-include -isystem /usr/obj/usr/ports/devel/cross-gcc/work/gcc-4.5.2/newlib/libc/include -B/usr/obj/usr/ports/devel/cross-gcc/work/build/arm-elf/libgloss/arm -L/usr/obj/usr/ports/devel/cross-gcc/work/build/arm-elf/libgloss/libnosys -L/usr/obj/usr/ports/devel/cross-gcc/work/gcc-4.5.2/libgloss/arm -B/usr/local/arm-elf/bin/ -B/usr/local/arm-elf/lib/ -isystem /usr/obj/usr/ports/devel/cross-gcc/work/build/./gcc -isystem /usr/local/arm-elf/include -isystem /usr/local/arm-elf/sys-include -c -DHAVE_CONFIG_H -g -O2 -pipe -fno-strict-aliasing -I. -I../.././../gcc-4.5.2/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../.././../gcc-4.5.2/libiberty/physmem.c -o physmem.o ../.././../gcc-4.5.2/libiberty/physmem.c:52:25: fatal error: sys/sysctl.h: No such file or directory compilation terminated. >How-To-Repeat: make TGTARCH=arm TGTAPI=elf or make TGTARCH=powerpc TGTABI=elf >Fix: A quick fix is to remove #include <sys/sysctl.h> from the offending source file, so probably some autoconf magic needs to be fixed not to produce HAVE_SYS_SYSCTL_H >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107171941.p6HJfNG9048567>