https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68466

angelo <angelo70 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #5 from angelo <angelo70 at gmail dot com> ---

Hi Andreas,

thanks,

i installed kernel headers, and configured now with 

EXTRA_GCC_CONF="--enable-multilib
--with-sysroot=/home/angelo/archivio/aziende/sysam/buildall/sysroot
--with-arch=cf --with-newlib --with-system-zlib"

with kernel headers set in sysroot/usr/include

Still same erorr.

/home/angelo/archivio/aziende/sysam/buildall/m68k/gcc/./gcc/xgcc
-B/home/angelo/archivio/aziende/sysam/buildall/m68k/gcc/./gcc/
-B/home/angelo/archivio/aziende/sysam/buildall/output/m68k-linux/bin/
-B/home/angelo/archivio/aziende/sysam/buildall/output/m68k-linux/lib/ -isystem
/home/angelo/archivio/aziende/sysam/buildall/output/m68k-linux/include -isystem
/home/angelo/archivio/aziende/sysam/buildall/output/m68k-linux/sys-include   
-g -O2 -mcpu=54455 -Wa,-mno-mac -O2  -g -O2 -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include   -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -Dinhibit_libc  -fPIC -I. -I. -I../../.././gcc
-I/home/angelo/archivio/aziende/sysam/buildall/gcc-5.2.0/libgcc
-I/home/angelo/archivio/aziende/sysam/buildall/gcc-5.2.0/libgcc/.
-I/home/angelo/archivio/aziende/sysam/buildall/gcc-5.2.0/libgcc/../gcc
-I/home/angelo/archivio/aziende/sysam/buildall/gcc-5.2.0/libgcc/../include 
-DHAVE_CC_TLS  -o linux-atomic.o -MT linux-atomic.o -MD -MP -MF
linux-atomic.dep  -c
/home/angelo/archivio/aziende/sysam/buildall/gcc-5.2.0/libgcc/config/m68k/linux-atomic.c
-fvisibility=hidden -DHIDE_EXPORTS
/home/angelo/archivio/aziende/sysam/buildall/gcc-5.2.0/libgcc/config/m68k/linux-atomic.c:36:24:
fatal error: asm/unistd.h: No such file or directory
compilation terminated.

I can do something wrong, of course, but i don't see any sysroot reference in
the line producing the error.

I attach the full logs.

Reply via email to