also note that you apparently have something in
-L/usr/local/opt/llvm/lib (installed from Homebrew ?) which might lead
to surprises.
Do you have some LDFLAGS set?
It would help if you also post logs/pkgs/cysignals-1.10.2.log

On Mon, Oct 26, 2020 at 2:15 PM Dima Pasechnik <dimp...@gmail.com> wrote:
>
> also, if you have Homebrew, you should run
>
> source .homebrew-build-env
>
> before
>
> ./configure
>
> On Mon, Oct 26, 2020 at 1:50 PM Dima Pasechnik <dimp...@gmail.com> wrote:
>>
>> please post the top-level config.log here
>>
>> On Mon, 26 Oct 2020, 13:45 modp...@gmail.com, <modpr...@gmail.com> wrote:
>>>
>>>
>>> I'm building Sage 9.2 from source on macOS Catalina 10.15.7, however, it 
>>> fails
>>> when trying to install cysignals. More precisely, it throws the following 
>>> error:
>>>
>>> gcc -bundle -undefined dynamic_lookup -isysroot 
>>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
>>>  -L/Users/myUser/app/sage-9.2/local/lib 
>>> -Wl,-rpath,/Users/myUser/app/sage-9.2/local/lib -L/usr/local/opt/llvm/lib 
>>> -I/usr/local/opt/llvm/include -Wp,-U_FORTIFY_SOURCE 
>>> build/temp.macosx-10.15-x86_64-3.8/build/src/cysignals/signals.o 
>>> -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib 
>>> -L/usr/local/opt/sqlite/lib -o 
>>> build/lib.macosx-10.15-x86_64-3.8/cysignals/signals.cpython-38-darwin.so 
>>> -lpari -pthread
>>>   ld: illegal thread local variable reference to regular symbol 
>>> _PARI_SIGINT_block for architecture x86_64
>>>   clang: error: linker command failed with exit code 1 (use -v to see 
>>> invocation)
>>>   error: command 'gcc' failed with exit status 1
>>>   Building wheel for cysignals (setup.py): finished with status 'error'
>>>   ERROR: Failed building wheel for cysignals
>>>
>>> This is my compiler version:
>>>
>>> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
>>> --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
>>> Apple clang version 12.0.0 (clang-1200.0.32.21)
>>> Target: x86_64-apple-darwin19.6.0
>>> Thread model: posix
>>> InstalledDir: 
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
>>>
>>> Any idea what the problem might be, and how to solve it?
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "sage-devel" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to sage-devel+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-devel/38ff74b7-a4bf-4118-8519-9f57736ba532n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq2A0dM98qpw-y%3D2cswj3KZTz8YnZ0NeMX%3DsWRKK7O57kg%40mail.gmail.com.

Reply via email to