Summary: | dev-perl/Text-Iconv-1.700.0-r3 : Use wrong gcc in cross compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | groche97 <groche97> |
Component: | Current packages | Assignee: | Cross compilation support <cross> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | jstein, perl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
Makefile generated by MakeMaker emerge --info host emerge --info crossdev |
Created attachment 767388 [details]
Makefile generated by MakeMaker
Created attachment 767389 [details]
emerge --info host
Created attachment 767390 [details]
emerge --info crossdev
|
Created attachment 767387 [details] Build log Apparently the makefile generated by MakeMaker use the host's gcc instead of crossdev's gcc: make -j40 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' 'OPTIMIZE=-O3 -march=armv8-a+crypto+crc -mtune=cortex-a53 -pipe -fomit-frame-pointer' "/usr/bin/perl" "/usr/lib64/perl5/5.34/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.34/ExtUtils/typemap' -typemap '/usr/aarch64-unknown-linux-gnu/tmp/portage/dev-perl/Text-Iconv-1.700.0-r3/work/Text-Iconv-1.7/typemap' Iconv.xs > Iconv.xsc Running Mkbootstrap for Iconv () chmod 644 "Iconv.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Iconv.bs blib/arch/auto/Text/Iconv/Iconv.bs 644 cp Iconv.pm blib/lib/Text/Iconv.pm AutoSplitting blib/lib/Text/Iconv.pm (blib/lib/auto/Text/Iconv) mv Iconv.xsc Iconv.c x86_64-pc-linux-gnu-gcc -c -O2 -pipe -fwrapv -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=armv8-a+crypto+crc -mtune=cortex-a53 -pipe -fomit-frame-pointer -DVERSION=\"1.7\" -DXS_VERSION=\"1.7\" -fPIC "-I/usr/lib64/perl5/5.34/x86_64-linux/CORE" Iconv.c cc1: error: bad value (‘armv8-a+crypto+crc’) for ‘-march=’ switch cc1: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 native cc1: error: bad value (‘cortex-a53’) for ‘-mtune=’ switch cc1: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 generic native make: *** [Makefile:337: Iconv.o] Error 1