Open cslycord opened 4 years ago
It's not clear in the code output here on the site, but the output looks like: Line 1: gcc: error: valid: No such file or directory Line 2: CFLAGS="-march=nehalem Line 3: valid -m128bit-long-double ...
Same problem on 9.3.0
There's a pull request where someone made an updated version that works with gcc-9.
I can also sometime upload a version modified from that one to work with any posix shell (and not just bash).
On Sat, Mar 14, 2020, 2:47 PM Paul Jones notifications@github.com wrote:
Same problem on 9.3.0
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/daniel-santos/distccflags/issues/5#issuecomment-599015313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC5TL7NFAHRLZYKCWNXZOETRHMK73ANCNFSM4LCG2BOA .
I've made a pull request #6 that fixes this more properly than #4 (we should match the beginning of the string).
# ./distccflags -march=native gcc: error: valid: No such file or directory CFLAGS="-march=nehalem valid -m128bit-long-double -mno-16 -mno-32 -mno-3dnowa -mno-3dnow -m64 -m80387 -mno-8bit-idiv -mno-96bit-long-double -mabi=sysv -mno-abm -mno-accumulate-outgoing-args -maddress-mode=long -mno-adx -maes -malign-data=compat -mno-align-double -malign-functions=0 -malign-jumps=0 -malign-loops=0 -malign-stringops -mno-android -masm=att -mavx256-split-unaligned-load -mavx256-split-unaligned-store -mno-avx2 -mno-avx5124fmaps -mno-avx5124vnniw -mno-avx512bitalg -mno-avx512bw -mno-avx512cd -mno-avx512dq -mno-avx512er -mno-avx512f -mno-avx512ifma -mno-avx512pf -mno-avx512vbmi2 -mno-avx512vbmi -mno-avx512vl -mno-avx512vnni -mno-avx512vpopcntdq -mno-avx -mno-bionic -mno-bmi2 -mno-bmi -mbranch-cost=3 -mno-call-ms2sysv-xlogues -mno-cet-switch -mno-cldemote -mno-cld -mno-clflushopt -mno-clwb -mno-clzero -mno-crc32 -mcx16 -mdefault -mno-dispatch-scheduler -mno-dump-tune-features -mno-f16c -mfancy-math-387 -mno-fentry -mno-fma4 -mno-fma -mno-force-drap -mno-force-indirect-call -mfpmath=sse -mfp-ret-in-387 -mno-fsgsbase -mfunction-return=keep -mfxsr -mno-general-regs-only -mno-gfni -mglibc -mhard-float -mno-hle -mno-iamcu -mieee-fp -mincoming-stack-boundary=0 -mindirect-branch=keep -mno-indirect-branch-register -mno-inline-all-stringops -mno-inline-stringops-dynamically -minstrument-return=none -mlarge-data-threshold=65536 -mno-long-double-128 -mno-long-double-64 -mlong-double-80 -mno-lwp -mno-lzcnt -mno-manual-endbr -mno-mitigate-rop -mmmx -mmovbe -mno-movdir64b -mno-movdiri -mno-mpx -mno-ms-bitfields -mno-musl -mno-mwaitx -mno-nop-mcount -mno-omit-leaf-frame-pointer -mno-pc32 -mno-pc64 -mno-pc80 -mpclmul -mno-pcommit -mno-pconfig -mno-pku -mpopcnt -mpreferred-stack-boundary=0 -mprefer-vector-width=none -mno-prefetchwt1 -mno-prfchw -mno-ptwrite -mpush-args -mno-rdpid -mno-rdrnd -mno-rdseed -mno-recip -mno-record-mcount -mno-record-return -mred-zone -mregparm=6 -mno-rtd -mno-rtm -mno-sahf -mno-sgx -mno-sha -mno-shstk -mno-skip-rax-setup -mno-soft-float -msse -msse2 -mno-sse2avx -msse3 -msse4 -msse4.1 -msse4.2 -mno-sse4a -mno-sseregparm -mssse3 -mno-stack-arg-probe -mstack-protector-guard=tls -mno-stackrealign -mstv -mno-tbm -mtls-dialect=gnu -mtls-direct-seg-refs -mtune=nehalem -mno-uclibc -mno-vaes -mno-vect8-ret-in-mem -mno-vpclmulqdq -mvzeroupper -mno-waitpkg -mno-wbnoinvd -mno-x32 -mno-xop -mno-xsavec -mno-xsave -mno-xsaveopt -mno-xsaves"
# /usr/bin/gcc -dumpversion 9.2.0
# gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 /usr/libexec/gcc/x86_64-pc-linux-gnu/9.2.0/cc1 -E -quiet -v - -march=nehalem -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -mno-sahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-pconfig -mno-wbnoinvd -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq -mno-avx512bitalg -mno-movdiri -mno-movdir64b -mno-waitpkg -mno-cldemote -mno-ptwrite -mtune=nehalem