Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libjulia] build new nightly for Memory changes, bump 1.10 to rc1 #7657

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

benlorenz
Copy link
Contributor

@benlorenz benlorenz commented Nov 10, 2023

This is needed to rebuild libcxxwrap (+ maybe more) for the latest julia nightly, see JuliaInterop/libcxxwrap-julia#137.

I bumped the preferred gcc to version 9 for julia 1.11. Older versions (7 and 8) crash in the bfloat instrinsics on aarch64-linux-{gnu,musl}:

sandbox:${WORKSPACE}/srcdir/julia/src #  aarch64-linux-gnu-gcc -fasynchronous-unwind-tables -fno-tree-tail-merge -DSYSTEM_LIBUNWIND -DSYSTEM_LLVM -DJULIA_NUM_THREADS=1 -DJL_USE_INTEL_JITEVENTS -DJL_USE_PERF_JITEVENTS -std=gnu11 -pipe -fPIC -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -fno-gnu-unique -DSYSTEM_LIBUNWIND -I/workspace/destdir/include -Wold-style-definition -Wstrict-prototypes -Wc++-compat  -O3 -ggdb2 -falign-functions -D_GNU_SOURCE -I. -I/workspace/srcdir/julia/src -I/workspace/srcdir/julia/src/flisp -I/workspace/srcdir/julia/src/support -I/workspace/destdir/include -I/workspace/srcdir/julia/usr/include -I/workspace/srcdir/julia/deps/valgrind -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden -fno-common -Wno-comment -Wpointer-arith -Wundef -Wno-unused-result -DJL_BUILD_ARCH='"aarch64"' -DJL_BUILD_UNAME='"Linux"' -I -DLLVM_SHLIB "-DJL_SYSTEM_IMAGE_PATH=\"../lib/julia/sys.so\"" "-DJL_LIBJULIA_SONAME=\"libjulia.so.1.11\"" -DJL_LIBRARY_EXPORTS_INTERNAL -DNDEBUG -DJL_NDEBUG -c /workspace/srcdir/julia/src/runtime_intrinsics.c -o runtime_intrinsics.o
/workspace/srcdir/julia/src/runtime_intrinsics.c: In function ‘jl_copysign_float’:
/workspace/srcdir/julia/src/runtime_intrinsics.c:813:11: internal compiler error: Segmentation fault
     float R = OP(A, B); \
           ^
/workspace/srcdir/julia/src/runtime_intrinsics.c:1262:5: note: in expansion of macro ‘bi_intrinsic_bfloa ’
     bi_intrinsic_bfloat(OP, name) \
     ^~~~~~~~~~~~~~~~~~~
/workspace/srcdir/julia/src/runtime_intrinsics.c:1667:1: note: in expansion of macro ‘bi_fintrinsic’
 bi_fintrinsic(copysign_float,copysign_float)
 ^~~~~~~~~~~~~
0x9ee476 crash_signal
        /workspace/srcdir/gcc-7.1.0/gcc/toplev.c:337
0x14e752a491de ???
        /workspace/srcdir/musl-1.2.2/src/signal/x86_64/restore.s:1
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Also bumped a few dependencies according to the julia deps for 1.11.

Edit: Reverted to bfd linker for julia 1.6 on freebsd due to slightly wrong old libraries.

cc: @fingolfin @barche

@benlorenz benlorenz marked this pull request as ready for review November 10, 2023 14:47
@benlorenz benlorenz marked this pull request as draft November 10, 2023 14:47
@benlorenz benlorenz marked this pull request as ready for review November 10, 2023 18:23
@barche
Copy link
Contributor

barche commented Nov 11, 2023

Looks fine to me!

@vchuravy vchuravy merged commit 4c6cb6b into JuliaPackaging:master Nov 11, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants