$ grep -r "\-lc" *
GCC/gcc/config.gcc: # Before 5.0, FreeBSD can't bind shared libraries to -lc
GCC/gcc/config/freebsd-spec.h: -lc and the threading lib instead of only -lc_r. To make matters
GCC/gcc/config/freebsd-spec.h: %{!pg: -lc} \
GCC/gcc/config/freebsd-spec.h: %{pg: -lc_p} \
GCC/gcc/config/freebsd-spec.h: %{!pthread:-lc} \
GCC/gcc/config/freebsd-spec.h: %{pthread:-lc_r}} \
GCC/gcc/config/freebsd-spec.h: %{!pthread:-lc_p} \
GCC/gcc/config/freebsd-spec.h: %{pthread:-lc_r_p}} \
GCC/gcc/config/freebsd-spec.h: %{!pg: %{pthread:-lpthread} -lc} \
GCC/gcc/config/freebsd-spec.h: %{pg: %{pthread:-lpthread_p} -lc_p} \
GCC/gcc/config/linux.h:/* This is for -profile to use -lc_p instead of -lc. */
GCC/gcc/config/linux.h: %{shared:-lc} \
GCC/gcc/config/linux.h: %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}"
GCC/gcc/config/i386/mingw32.h:#define LIB_SPEC "%{pg:-lgmon} %{mwindows:-lgdi32 -lcomdlg32} \
GCC/gcc/config/darwin.h:/* We specify crt0.o as -lcrt0.o so that ld will search the library path.
GCC/gcc/config/darwin.h: %{!pg:%{static:-lcrt0.o} \
GCC/gcc/config/darwin.h: %{!static:%{object:-lcrt0.o} \
GCC/gcc/config/darwin.h: %{!object:%{preload:-lcrt0.o} \
GCC/gcc/config/darwin.h: %{!preload:-lcrt1.o %(darwin_crt2)}}}}}} \
GCC/gcc/config/t-slibgcc-darwin:SHLIB_LC = -lc
GCC/gcc/config/sol2.h: %{p|pg:-ldl} -lc}}"
GCC/gcc/config/netbsd.h: %{!pg:-lc}} \
GCC/gcc/config/netbsd.h: %{p:-lc_p} \
GCC/gcc/config/netbsd.h: %{pg:-lc_p}}}"
GCC/gcc/config/netbsd.h: %{!pg:-lc}} \
GCC/gcc/config/netbsd.h: %{p:-lc_p} \
GCC/gcc/config/netbsd.h: %{pg:-lc_p}}}"
GCC/gcc/config/svr4.h:#define LIB_SPEC "%{!shared:%{!symbolic:-lc}}"
GCC/gcc/config/mips/iris6.h:/* Profiling is supported via libprof1.a not -lc_p as in IRIX 3. */
GCC/gcc/config/mips/iris6.h: " %{pthread:-lpthread} %{p:libprof1.a%s}%{pg:libprof1.a%s} -lc " \
GCC/gcc/config/mips/t-slibgcc-irix:SHLIB_LC = -lc
GCC/gcc/config/mips/linux.h:%{shared: -lc} \
GCC/gcc/config/mips/linux.h: %{profile:-lc_p} %{!profile: -lc}}"
GCC/gcc/config/mips/linux64.h:%{shared: -lc} \
GCC/gcc/config/mips/linux64.h: %{profile:-lc_p} %{!profile: -lc}}"
GCC/gcc/config/mips/windiss.h:#define LIB_SPEC "--start-group -li -lcfp -lwindiss -lram -limpl -limpfp --end-group"
GCC/gcc/config/mips/iris5.h:#define LIB_SPEC "%{!shared:%{p:-lprof1} %{pg:-lprof1} -lc}"
src/ipa_link/ld/eelf_i386.c: there may be a problem if -lc picks up libc.so.6 but some other
src/ipa_link/ld/eelf_x86_64.c: there may be a problem if -lc picks up libc.so.6 but some other
src/ipa_link/ld/eelf64btsmip.c: there may be a problem if -lc picks up libc.so.6 but some other
src/ipa_link/ld/eelf_x86_64_fbsd.c: there may be a problem if -lc picks up libc.so.6 but some other
src/ipa_link/ld/configure.host:HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ]; then libgcc=../gcc/libgcc.a; else libgcc=\`${CC} -print-libgcc-file-name\`; fi; if [ -f ../gcc/libgcc_eh.a ]; then libgcc="$libgcc ../gcc/libgcc_eh.a"; else libgcc_eh=\`${CC} -print-file-name=libgcc_eh.a\`; if [ x"$libgcc_eh" != xlibgcc_eh.a ]; then libgcc="$libgcc $libgcc_eh"; fi; fi; if [ -f ../gcc/libunwind.a ]; then libgcc="$libgcc ../gcc/libunwind.a"; else libunwind=\`${CC} -print-file-name=libunwind.a\`; if [ x"$libunwind" != xlibunwind.a ]; then libgcc="$libgcc $libunwind"; fi; fi; echo --start-group $libgcc -lc --end-group`'
src/ipa_link/ld/configure.host: HOSTING_LIBS='--start-group `if [ -f ../gcc/libgcc.a ]; then echo ../gcc/libgcc.a; else if test "$GCC" = yes; then ${CC} --print-libgcc-file-name; else gcc --print-libgcc-file-name; fi fi` -lc --end-group /usr/lib/pa20_64/milli.a'
src/ipa_link/ld/configure.host: HOSTING_LIBS='-L $$X/local_bin -L $$INTERIX_ROOT/usr/lib '"$HOSTING_LIBS"' -lcpsx -lc -lcpsx $$INTERIX_ROOT/usr/lib/psxdll.a $$INTERIX_ROOT/usr/lib/psxdll2.a'
src/ipa_link/ld/configure.host: HOSTING_LIBS="$HOSTING_LIBS"' -lcygwin -L/usr/lib/w32api -luser32 -lkernel32 -ladvapi32 -lshell32 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`'
src/ipa_link/ld/configure.host: HOSTING_LIBS=`echo "$HOSTING_LIBS" | sed -e "s,-lc,-lc881,"`
src/ipa_link/ld/eelf32btsmip.c: there may be a problem if -lc picks up libc.so.6 but some other
src/ipa_link/ld/eelf32btsmipn32.c: there may be a problem if -lc picks up libc.so.6 but some other
src/ipa_link/ld/eelf64ltsmip.c: there may be a problem if -lc picks up libc.so.6 but some other
src/ipa_link/ld/eelf32ltsmipn32.c: there may be a problem if -lc picks up libc.so.6 but some other
src/ipa_link/ld/eelf32ltsmip.c: there may be a problem if -lc picks up libc.so.6 but some other
src/be/lno/cache_model.cxx: if (!Has_Outer_Reuse_In_SNL(&future_order[available_depth+1-lcnt], lcnt,
src/be/lno/cache_model.cxx: if (!Fits_In_The_Cache(arl, &future_order[available_depth+1-lcnt], lcnt,
src/be/lno/cache_model.cxx: INT64 v1new = Estimate_Middle_Iters(future_order[available_depth+1-lcnt],
src/be/lno/cache_model.cxx: Compute_Miss_Bytes(arl, lcnt, &future_order[available_depth+1-lcnt],
src/be/lno/cache_model.cxx: INT loop = future_order[available_depth+1-lcnt+i];
Dans le fichier linux.h je supprime ?
Je tente en static au pire c'est vraiment pour faire des essais de vitesse d'exécution de toute façon.
[edit] Bon ça va un peu plus loin :
[ 32%] Generating pscrt-static-x86_64/memcpy_opteron_c.o
cd /home/Nanotimes/Downloads/path64/compiler/build/src/libpscrt/pscrt-static-x86_64 && /home/Nanotimes/Downloads/path64/compiler/build/bin/pathcc -c -o memcpy_opteron_c.o -m64 -DTARG_X8664 -I/home/Nanotimes/Downloads/path64/compiler/build/src/include -I/home/Nanotimes/Downloads/path64/compiler/src/include -fpic -DHAVE_ALLOCA_H=1 -DX86_WHIRL_OBJECTS -D_SGI_SOURCE -D__GNU_BUG_WORKAROUND -DKEY -DFE_GNU_4_2_0 -D_LONGLONG -D_MIPSEL -DTARG_LINUX -D_GNU_SOURCE -DHOST_IS_BIG_ENDIAN=0 -DHOST_IS_LITTLE_ENDIAN=1 -D_LANGUAGE_C /home/Nanotimes/Downloads/path64/compiler/src/libpscrt/memcpy_opteron.c -O0 -g -D_DEBUG
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/xmmintrin.h:37,
from /home/Nanotimes/Downloads/path64/compiler/src/libpscrt/intrin.h:51,
from /home/Nanotimes/Downloads/path64/compiler/src/libpscrt/memcpy_opteron.c:25:
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_add_si64':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:311: error: incompatible type for argument 1 of '__builtin_ia32_paddq'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:311: error: incompatible type for argument 2 of '__builtin_ia32_paddq'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_sub_si64':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:415: error: incompatible type for argument 1 of '__builtin_ia32_psubq'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:415: error: incompatible type for argument 2 of '__builtin_ia32_psubq'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_sll_pi16':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:522: error: incompatible type for argument 2 of '__builtin_ia32_psllw'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_slli_pi16':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:534: error: can't convert between vector values of different size
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_sll_pi32':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:547: error: incompatible type for argument 2 of '__builtin_ia32_pslld'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_slli_pi32':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:559: error: can't convert between vector values of different size
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_sll_si64':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:572: error: incompatible type for argument 1 of '__builtin_ia32_psllq'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:572: error: incompatible type for argument 2 of '__builtin_ia32_psllq'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_slli_si64':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:584: error: can't convert between vector values of different size
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_sra_pi16':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:597: error: incompatible type for argument 2 of '__builtin_ia32_psraw'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_srai_pi16':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:609: error: can't convert between vector values of different size
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_sra_pi32':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:622: error: incompatible type for argument 2 of '__builtin_ia32_psrad'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_srai_pi32':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:634: error: can't convert between vector values of different size
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_srl_pi16':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:647: error: incompatible type for argument 2 of '__builtin_ia32_psrlw'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_srli_pi16':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:659: error: can't convert between vector values of different size
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_srl_pi32':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:672: error: incompatible type for argument 2 of '__builtin_ia32_psrld'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_srli_pi32':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:684: error: can't convert between vector values of different size
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_srl_si64':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:697: error: incompatible type for argument 1 of '__builtin_ia32_psrlq'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:697: error: incompatible type for argument 2 of '__builtin_ia32_psrlq'
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h: In function '_mm_srli_si64':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/mmintrin.h:709: error: can't convert between vector values of different size
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/xmmintrin.h:1248,
from /home/Nanotimes/Downloads/path64/compiler/src/libpscrt/intrin.h:51,
from /home/Nanotimes/Downloads/path64/compiler/src/libpscrt/memcpy_opteron.c:25:
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/emmintrin.h: In function '_mm_move_epi64':
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/emmintrin.h:727: error: can't convert between vector values of different size
make[2]: *** [src/libpscrt/pscrt-static-x86_64/memcpy_opteron_c.o] Error 1
make[2]: Leaving directory `/home/Nanotimes/Downloads/path64/compiler/build'
make[1]: *** [src/libpscrt/CMakeFiles/pscrt-static-x86_64.dir/all] Error 2
make[1]: Leaving directory `/home/Nanotimes/Downloads/path64/compiler/build'
make: *** [all] Error 2
Mais ce problème est rapporté là :
https://github.com/path64/compiler/issues/11