Closed brickviking closed 2 years ago
fixed. please try again.
Thank you. I'm left with another error, I'll get that into here in a mo.
======= build_libj.sh output =======
entering /home/viking/src/c/hosts/github/jsoftware/jsource/make2
CC=cc
compiler=/usr/bin/gcc
CFLAGS= -fPIC -O2 -fvisibility=hidden -fno-strict-aliasing -fno-stack-protector -Werror -Wextra -Wno-unknown-warning-option -Wno-cast-function-type -Wno-clobbered -Wno-empty-body -Wno-format-overflow -Wno-implicit-fallthrough -Wno-int-to-pointer-cast -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-overflow -Wno-parentheses -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-shift-count-overflow -Wno-shift-negative-value -Wno-sign-compare -Wno-type-limits -Wno-uninitialized -Wno-unused-parameter -Wno-unused-value -DSLEEF=1 -DEMU_AVX=1 -DC_AVX=1
cc -c -o vcat.o ../../../../jsrc/vcat.c -fPIC -O2 -fvisibility=hidden -fno-strict-aliasing -fno-stack-protector -Werror -Wextra -Wno-unknown-warning-option -Wno-cast-function-type -Wno-clobbered -Wno-empty-body -Wno-format-overflow -Wno-implicit-fallthrough -Wno-int-to-pointer-cast -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-overflow -Wno-parentheses -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-shift-count-overflow -Wno-shift-negative-value -Wno-sign-compare -Wno-type-limits -Wno-uninitialized -Wno-unused-parameter -Wno-unused-value -DSLEEF=1 -DEMU_AVX=1 -DC_AVX=1 -mavx
In file included from /usr/lib/gcc/x86_64-redhat-linux/8/include/immintrin.h:43,
from ../../../../jsrc/j.h:78,
from ../../../../jsrc/vcat.c:6:
../../../../jsrc/avx2intrin-emu.h: In function '__emu_mm256_permute4x64_epi64':
/usr/lib/gcc/x86_64-redhat-linux/8/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
_mm256_permute4x64_pd (__m256d __X, const int __M)
^~~~~~~~~~~~~~~~~~~~~
In file included from ../../../../jsrc/j.h:91,
from ../../../../jsrc/vcat.c:6:
../../../../jsrc/avx2intrin-emu.h:303:11: note: called from here
return _mm256_castpd_si256(_mm256_permute4x64_pd(_mm256_castsi256_pd(a),control));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-redhat-linux/8/include/immintrin.h:43,
from ../../../../jsrc/j.h:78,
from ../../../../jsrc/vcat.c:6:
/usr/lib/gcc/x86_64-redhat-linux/8/include/avx2intrin.h:1049:1: error: inlining failed in call to always_inline '_mm256_permute4x64_pd': target specific option mismatch
_mm256_permute4x64_pd (__m256d __X, const int __M)
^~~~~~~~~~~~~~~~~~~~~
In file included from ../../../../jsrc/j.h:91,
from ../../../../jsrc/vcat.c:6:
../../../../jsrc/avx2intrin-emu.h:303:11: note: called from here
return _mm256_castpd_si256(_mm256_permute4x64_pd(_mm256_castsi256_pd(a),control));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../jsrc/vcat.c: At top level:
cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]
cc1: all warnings being treated as errors
make: *** [makefile-libj:167: vcat.o] Error 1
/home/viking/src/c/hosts/github/jsoftware/jsource/make2
Hope this will be the last one, as I'm not sure what switch I'd have needed to "cure" this problem.
I have fixed this, and will update when I have fixed other bugs for j64x=j64 with gcc.
Okay, thanks for the time you're spending with this. I know roughly how to run the compiler, but I've never quite figured out all the -W
Fixed. Still some abi warnings on gcc but didn't look into it.
Thank you again. That's fixed all the remaining bugs I think I had. I'll rerun it again from scratch and find out if it works properly.
Later: yup. All compiled fine. I'm done for the moment.
Cheers, brickviking.
I thought I'd compile J, but while I can compile jconsole fine, I ran into a problem when trying to compile libj. I did manage to compile some files, but I'll include some pertinent information here:
So, where do I go from here? I'm not really a good programmer, so I'm lost as to where to start. I rather hope I haven't flooded you with information, but it's all the info I thought might have been relevant, except for memory/cpu/hard drive space etc.
Hopefully, brickviking