Changeset 214c0c3 in git


Ignore:
Timestamp:
Mar 22, 2021, 2:02:58 PM (3 years ago)
Author:
Michael Orlitzky <michael@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
7a1f64d75c340aa30ebfdeb25177f59988b1f5dc
Parents:
d817a9fecc788131646a5ae1c82a022e811f42d1
git-author:
Michael Orlitzky <michael@orlitzky.com>2021-03-22 09:02:58-04:00
git-committer:
Michael Orlitzky <michael@orlitzky.com>2021-05-30 10:15:37-04:00
Message:
Singular/Makefile.am: drop -static linker flags.

There are a few hard-coded "-static" flags in the Makefile.am for
Singular that are causing weird problems for shared builds. The
visible symptom on Gentoo was a few insecure rpaths being stripped
from the "Singular" executable, but François Bissey was able to track
down the root cause, namely the "-static" that is causing libtool to
act weird.

In retrospect, this problem was also reported on Stack Overflow at,

  https://stackoverflow.com/questions/17905121

The Gentoo bug is,

  https://bugs.gentoo.org/712004

No problems have been experienced in Gentoo after making this change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.am

    rd817a9 r214c0c3  
    155155Singular_LDADD = libSingular.la ${OMALLOC_LIBS} ${BUILTIN_FLAGS}
    156156
    157 Singular_LDFLAGS = -static ${AM_LDFLAGS} ${BUILTIN_FLAGS}
     157Singular_LDFLAGS = ${AM_LDFLAGS} ${BUILTIN_FLAGS}
    158158
    159159Singulard_SOURCES = tesths.cc fegetopt.c fegetopt.h utils.cc  utils.h
     
    168168#### ESingular
    169169ESingular_CPPFLAGS = ${AM_CPPFLAGS} -DESINGULAR -DPROTO
    170 # ESingular_LDFLAGS = -static ${AM_LDFLAGS}
    171170ESingular_LDADD =  ${top_builddir}/libpolys/reporter/libreporter.la \
    172171${top_builddir}/libpolys/misc/libmisc.la ${OMALLOC_LIBS} \
     
    178177#### same for TSingular
    179178TSingular_CPPFLAGS = ${AM_CPPFLAGS} -DTSINGULAR -DPROTO
    180 # TSingular_LDFLAGS = -static ${AM_LDFLAGS}
    181179TSingular_LDADD = ${top_builddir}/libpolys/reporter/libreporter.la \
    182180${top_builddir}/libpolys/misc/libmisc.la ${OMALLOC_LIBS} \
     
    193191
    194192libparse_LDADD =
    195 libparse_LDFLAGS = -static ${AM_LDFLAGS}
     193libparse_LDFLAGS = ${AM_LDFLAGS}
    196194
    197195#########################################################
Note: See TracChangeset for help on using the changeset viewer.