Changes between Initial Version and Version 4 of Ticket #29152
- Timestamp:
- Sep 11, 2020, 6:03:19 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29152
- Property Cc SimonKing added
-
Property
Component
changed from
packages: optional
toporting: Cygwin
-
Property
Summary
changed from
Optional package meataxe doesn't build on Cygwin
toCygwin: Make sure all package build shared libraries, using `AM_LDFLAGS=-no-undefined`
-
Property
Priority
changed from
major
tocritical
-
Property
Milestone
changed from
sage-9.1
tosage-9.2
- Property Owner set to Erik Bray
-
Ticket #29152 – Description
initial v4 1 The error occurs when linking: 1 Follow-up from #30163, where libtool's fallback to static library build for `giac` caused linker errors while building sagelib. 2 2 3 This is fixed by passing `-no-undefined` to the libtool linking flags, by setting `AM_LDFLAGS=-no-undefined`. 4 5 Affected packages can be found as follows: 6 {{{ 7 $ grep "undefined symbols not allowed" logs/pkgs/* 8 cliquer-1.21.p4.log:libtool: link: warning: undefined symbols not allowed in x86_64-unknown-cygwin shared libraries 9 giac-1.5.0.87p0.log:libtool: warning: undefined symbols not allowed in x86_64-pc-cygwin shared libraries; building static only 10 libbraiding-1.0.p0.log:libtool: warning: undefined symbols not allowed in x86_64-unknown-cygwin shared libraries; building static only 11 rw-0.7.p0.log:libtool: link: warning: undefined symbols not allowed in x86_64-unknown-cygwin shared libraries 12 singular-4.1.1p2.p0.log:libtool: warning: undefined symbols not allowed in x86_64-unknown-cygwin shared libraries; building static only 13 }}} 14 15 It also affects the optional package `meataxe`. 3 16 {{{ 4 17 [meataxe-1.0.p0] /usr/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -L/opt/sagemath-9.0/local/lib -Wl,-rpath,/opt/sagemath-9.0/local/lib -o libmtx.la -rpath /opt/sagemath-9.0/local/lib args.lo berlekmp.lo bsand.lo bscore.lo bsdup.lo bsissub.lo bsmatch.lo bsminus.lo bsop.lo bsor.lo bsprint.lo bsread.lo bswrite.lo cfinfo.lo charpol.lo chbasis.lo error.lo ffio.lo fpcore.lo fpdup.lo fpmul.lo fpmul2.lo fpprint.lo gcd.lo genseed.lo grmaprow.lo grmatcore.lo grtable.lo homcomp.lo imatcore.lo imatread.lo imatwrite.lo init.lo intio.lo issub.lo isisom.lo kernel-0.lo ldiag.lo maddmul.lo mat2vec.lo matadd.lo matclean.lo matcmp.lo maketabF.lo matcopy.lo matcore.lo matcut.lo matdup.lo matech.lo matid.lo matins.lo matinv.lo matmul.lo matnull.lo matorder.lo matpivot.lo matprint.lo matpwr.lo matread.lo mattr.lo mattrace.lo matwrite.lo message.lo mfcore.lo mfread.lo mfreadlong.lo mfwrite.lo mfwritelong.lo minpol.lo mkendo.lo mmulscal.lo mraddgen.lo mrcore.lo mrread.lo mrtranspose.lo mrwrite.lo msclean.lo mscore.lo mtensor.lo mtxobj.lo os.lo permcmp.lo permcore.lo permdup.lo perminv.lo permmul.lo permorder.lo permprint.lo permpwr.lo permread.lo permwrite.lo poladd.lo polcmp.lo polcore.lo polderive.lo poldiv.lo poldup.lo polgcd.lo polmul.lo polprint.lo polread.lo polwrite.lo quotient.lo random.lo rdcfgen.lo saction.lo setcore.lo setinsert.lo settest.lo spinup.lo spinup2.lo split.lo stabpwr.lo stfcore.lo stfread.lo stfwrite.lo string.lo sumint.lo temap.lo tkinfo.lo vec2mat.lo wgen.lo window.lo zcleanrow.lo zcmprow.lo zgap.lo zpermrow.lo zzz2.lo … … 7 20 8 21 This is a common issue especially when using libtool to link Windows DLLs and should hopefully be straightforward to fix. 22