Opened 6 years ago

Closed 6 years ago

#18582 closed defect (fixed)

sage/libs/ecl.so: undefined symbol: ecl_sig_off in SAGE_DEBUG build

Reported by: vbraun Owned by:
Priority: major Milestone: sage-6.8
Component: build Keywords:
Cc: fbissey Merged in:
Authors: Jeroen Demeyer Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: 1969042 (Commits, GitHub, GitLab) Commit: 1969042024a81545404d7e9bc81bf917fb44bfa5
Dependencies: Stopgaps:

Status badges

Description

Possibly underlinked library? Worked in Fedora 21, but fails on F22:

$ SAGE_DEBUG=yes make
...
[combinat ] reading sources... [  8%] sage/combinat/combinatorial_map
Error building the documentation.
Traceback (most recent call last):
  File "/mnt/disk/home/release/Sage/src/doc/common/builder.py", line 1626, in <module>
    getattr(get_builder(name), type)()
  File "/mnt/disk/home/release/Sage/src/doc/common/builder.py", line 292, in _wrapper
    getattr(get_builder(document), 'inventory')(*args, **kwds)
  File "/mnt/disk/home/release/Sage/src/doc/common/builder.py", line 503, in _wrapper
    x.get(99999)
  File "/mnt/disk/home/release/Sage/local/lib/python/multiprocessing/pool.py", line 558, in get
    raise self._value
OSError: [calculus ] /mnt/disk/home/release/Sage/src/doc/en/reference/calculus/sage/calculus/calculus.rst:11: WARNING: error while formatting signature for sage.calculus.calculus.symbolic_expression_from_maxima_string: /mnt/disk/home/release/Sage/local/lib/python2.7/site-packages/sage/libs/ecl.so: undefined symbol: ecl_sig_off

Makefile:60: recipe for target 'doc-html' failed
make: *** [doc-html] Error 1

Change History (9)

comment:1 Changed 6 years ago by fbissey

Doesn't look like underlinking to me, that symbol is part of sage's code and defined in eclsig.h under sage/libs. It would probably pay to see if there are any message in the build log - provided it is not built with "-w".

comment:2 Changed 6 years ago by jdemeyer

GCC version?

comment:3 Changed 6 years ago by jdemeyer

  • Branch set to u/jdemeyer/sage_libs_ecl_so__undefined_symbol__ecl_sig_off_in_sage_debug_build

comment:4 Changed 6 years ago by git

  • Commit set to 1969042024a81545404d7e9bc81bf917fb44bfa5

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

1969042Use "static inline" for GCC 5 compatibility

comment:5 Changed 6 years ago by fbissey

Yes, I'd say you nailed it with that one. Any other headers of that kind lying around?


New commits:

1969042Use "static inline" for GCC 5 compatibility

comment:6 Changed 6 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Status changed from new to needs_review

comment:7 Changed 6 years ago by vbraun

gcc 5.1.1 for the record

comment:8 Changed 6 years ago by vbraun

  • Reviewers set to Volker Braun

comment:9 Changed 6 years ago by vbraun

  • Branch changed from u/jdemeyer/sage_libs_ecl_so__undefined_symbol__ecl_sig_off_in_sage_debug_build to 1969042024a81545404d7e9bc81bf917fb44bfa5
  • Resolution set to fixed
  • Status changed from needs_review to closed
Note: See TracTickets for help on using tickets.