looking at config.log i see theses errors:

configure:5941: checking for isl 0.15 or later
configure:5954: gcc -o conftest -g -O2  -I$$r/$(HOST_SUBDIR)/gmp
-I$$s/gmp -I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src -I$$s/mpc/src
  -lisl -L$$r/$(HOST_SUBDIR)/gmp/.libs
-L$$r/$(HOST_SUBDIR)/mpfr/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/.libs
-lmpc -lmpfr -lgmp conftest.c  -lisl -lgmp >&5
conftest.c: In function 'main':
conftest.c:14:1: warning: implicit declaration of function
'isl_options_set_schedule_serialize_sccs'; did you mean
'isl_options_set_schedule_split_scaled'?
[-Wimplicit-function-declaration]
 isl_options_set_schedule_serialize_sccs (NULL, 0);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 isl_options_set_schedule_split_scaled
/tmp/ccmCcjMj.o: In function `main':
/run/media/void/minnow/build/gcc-7.2.0/conftest.c:14: undefined
reference to `isl_options_set_schedule_serialize_sccs'
collect2: error: ld returned 1 exit status
configure:5954: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <isl/schedule.h>
| int
| main ()
| {
| isl_options_set_schedule_serialize_sccs (NULL, 0);
|   ;
|   return 0;
| }
configure:5961: result: no
configure:5965: result: required isl version is 0.15 or later


configure:4314: $? = 0
configure:4303: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-musl/7.2.0/lto-wrapper
Target: x86_64-linux-musl
Configured with: /builddir/gcc-7.2.0/configure
--build=x86_64-linux-musl --enable-fast-character
--disable-libsanitizer --disable-symvers libat_cv_have_ifunc=no
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--libexecdir=/usr/lib --libdir=/usr/lib --enable-threads=posix
--enable-__cxa_atexit --disable-multilib --with-system-zlib
--enable-shared --enable-lto --enable-vtable-verify
--enable-linker-build-id --enable-serial-configure --disable-werror
--disable-nls --enable-default-pie --enable-default-ssp
--enable-checking=release --disable-libstdcxx-pch --with-isl
--with-linker-hash-style=gnu --disable-libunwind-exceptions
--disable-target-libiberty
--with-default-libstdcxx-abi=gcc4-compatible
--enable-languages=c,c++,objc,obj-c++,fortran,lto
Thread model: posix
gcc version 7.2.0 (GCC)
configure:4314: $? = 0
configure:4303: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4314: $? = 1
configure:4303: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean
'--version'?
gcc: fatal error: no input files
compilation terminated.

configure:4887: $? = 0
configure:4876: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-musl/7.2.0/lto-wrapper
Target: x86_64-linux-musl
Configured with: /builddir/gcc-7.2.0/configure
--build=x86_64-linux-musl --enable-fast-character
--disable-libsanitizer --disable-symvers libat_cv_have_ifunc=no
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--libexecdir=/usr/lib --libdir=/usr/lib --enable-threads=posix
--enable-__cxa_atexit --disable-multilib --with-system-zlib
--enable-shared --enable-lto --enable-vtable-verify
--enable-linker-build-id --enable-serial-configure --disable-werror
--disable-nls --enable-default-pie --enable-default-ssp
--enable-checking=release --disable-libstdcxx-pch --with-isl
--with-linker-hash-style=gnu --disable-libunwind-exceptions
--disable-target-libiberty
--with-default-libstdcxx-abi=gcc4-compatible
--enable-languages=c,c++,objc,obj-c++,fortran,lto
Thread model: posix
gcc version 7.2.0 (GCC)
configure:4887: $? = 0
configure:4876: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4887: $? = 1
configure:4876: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean
'--version'?
g++: fatal error: no input files
compilation terminated.

On Fri, Dec 1, 2017 at 11:23 AM, Kai Ruottu <kai.ruo...@wippies.com> wrote:
> Kai Ruottu kirjoitti 1.12.2017 klo 12:02:
>>
>> Marek kirjoitti 1.12.2017 klo 10:51:
>>>
>>> It seems the last error preceeding the "suffix" error is "no include
>>> path in which to search for stdc-predef.h"
>>> I wonder where to find stdc-predef.h or whether it's generated by gcc
>>> during compile time.
>>
>>
>> This file comes with newer glibc versions. For instance glibc-2.17 coming
>> with CentOS 7
>> has it in its '/usr/include'. Older glibc versions don't have it...
>>
>>> I'm also compiling against musl.
>>
>>
>> No experience with that libc (https://www.musl-libc.org). Should it
>> include the 'stdc-predef.h'
>> in its '/usr/include'?
>
>
> Answering to my own question... Yes, it should include this :
>
> https://git.musl-libc.org/cgit/musl/tree/include
>
>> Maybe there is another target name one should use like
>> 'x86_64-lfs-linux-musl' in your case?
>>
> The docs for musl are telling just this, one should use the
> '<arch>-linux-musl' triplet!
>
>

Reply via email to