2021年8月17日火曜日 13:42:20 UTC+9 Kazuyoshi Furutaka:

>
>
> 2021年8月17日火曜日 13:28:28 UTC+9 dim...@gmail.com:
>
>>
>>
>> On Tue, 17 Aug 2021, 06:50 Kazuyoshi Furutaka, <furutaka....@gmail.com> 
>> wrote:
>>
>>>
>>>
>>> 2021年8月17日(火) 12:41 Dima Pasechnik <dim...@gmail.com>:
>>>
>>>> How exactly do you call ./configure?
>>>>
>>>> CC=clang  CXX=clang++ ./configure <more options>
>>>>
>>>> produces a working build on some systems at least.
>>>>
>>>> In principle, gcc and clang are producing compatible binaries,  but 
>>>> YMMV.
>>>>
>>>> Not so for g++ and clang++, mixing them up is likely to fail. There's 
>>>> also an extra complication involving clang's libc++ (its use depends upon 
>>>> your configuration)
>>>> vs gcc's libstdc++
>>>>
>>>
>>> I did: `./configure CC=clang  CXX=clang++`
>>>
>>
>> please try the way I suggest, hopefully it will work better.
>>
>
> Now trying: at least partially gcc was used until now...
>
> > awk '$2=="gcc"{print $1}' make.log|uniq 
> >[cython-0.29.21] 
> >[cysignals-1.10.3] 
> >[cypari-2.1.2]
>

The build failed with the same error (ImportError in building dochtml). 

Error building Sage. 
 
The following package(s) may have failed to build (not necessarily 
during this run of 'make all-start'): 
 
* documentation:         dochtml 
  last build time: Aug 17 16:12 
  log file:        
/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/logs/pkgs/../dochtml.log 

$ awk '$2=="gcc"{print $1}' make.log | sort | uniq 
[cypari-2.1.2] 
[cysignals-1.10.3] 
[cython-0.29.21] 
[gmpy2-2.1.0b5] 
[markupsafe-1.1.1] 
[matplotlib-3.3.4] 
[memory_allocator-0.1.0] 
[numpy-1.20.3] 
[pillow-8.1.2] 
[psutil-5.2.0.p2] 
[pyzmq-22.0.3] 
[sagelib-9.4.rc2] 
[scipy-1.6.3] 
[singular-4.2.0p3] 
[tornado-6.0.4] 

$ awk '$2=="gcc"{print}' make.log | uniq | head -3 
[cython-0.29.21]   gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed 
-Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g 
-Wl,-rpath-link,/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib 
-L/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib 
-Wl,-rpath,/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib -O2 
-g -march=native 
build/temp.linux-x86_64-3.9/tmp/pip-req-build-8u5zovrq/Cython/Plex/Scanners.o 
-L/usr/lib64 -o 
build/lib.linux-x86_64-3.9/Cython/Plex/Scanners.cpython-39-x86_64-linux-gnu.so 

[cython-0.29.21]   gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed 
-Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g 
-Wl,-rpath-link,/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib 
-L/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib 
-Wl,-rpath,/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib -O2 
-g -march=native 
build/temp.linux-x86_64-3.9/tmp/pip-req-build-8u5zovrq/Cython/Plex/Actions.o 
-L/usr/lib64 -o 
build/lib.linux-x86_64-3.9/Cython/Plex/Actions.cpython-39-x86_64-linux-gnu.so 

[cython-0.29.21]   gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed 
-Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g 
-Wl,-rpath-link,/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib 
-L/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib 
-Wl,-rpath,/home/furutaka/work/sage/sage-9.4.rc2-git-clang2/local/lib -O2 
-g -march=native 
build/temp.linux-x86_64-3.9/tmp/pip-req-build-8u5zovrq/Cython/Compiler/Scanning.o
 
-L/usr/lib64 -o 
build/lib.linux-x86_64-3.9/Cython/Compiler/Scanning.cpython-39-x86_64-linux-gnu.so
 


-- 
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/06ca4ca6-e8b8-4202-bbad-ae43c344d904n%40googlegroups.com.

Reply via email to