Date: Sun, 11 Nov 2018 19:39:23 +0000 From: argante <argante@...me> To: "musl@...ts.openwall.com" <musl@...ts.openwall.com> Subject: Re: using musl-cross-make to build host gcc The compilation starts with lto-plugin and here the size of the types are determined correctly. checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking for long long... yes checking size of long long... 8 checking for a 64-bit type... uint64_t checking for intptr_t... yes checking for uintptr_t... yes (...) make: Leaving directory `/tmp/ports/gcc/work/gcc-7.3.0/host-x86_64-linux-musl/lto-plugin' make: Leaving directory `/tmp/ports/gcc/work/gcc-7.3.0/host-x86_64-linux-musl/lto-plugin' Then is the gcc and the size of the types is incorrectly determined. checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of void *... 0 checking size of short... 0 checking size of int... 0 checking size of long... 0 checking for long long... yes checking size of long long... configure: error: in `/tmp/ports/gcc/work/gcc-7.3.0/host-x86_64-linux-musl/gcc': configure: error: cannot compute sizeof (long long) See `config.log' for more details. make: *** [configure-stage1-gcc] Error 77 make: Leaving directory `/tmp/ports/gcc/work/gcc-7.3.0' make: *** [stage1-bubble] Error 2 make: Leaving directory `/tmp/ports/gcc/work/gcc-7.3.0' make: *** [all] Error 2 I can't understand why cross-gcc works correctly and the version built on the host is working incorrectly.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.