Projet

Général

Profil

Bug #33784

lasso_log is not exported, linking on Solaris fails

Ajouté par Vita Batrla il y a presque 5 ans. Mis à jour il y a presque 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
07 juin 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

When building Lasso library on Solaris, I run into an issue that the symbol
lasso_log is exported in the resulting shared object, so external consumers
(mod_auth_mellon) of lasso/logging.h are unable to link.

The problem got fixed via attached patch. It's possible that it is Solaris
specific issue due to strict runtime-linker rules (or link editor?), don't
remember on top of my head.

If you have time please also check that C files using index() function import
the required header file <strings.h>. Please see e.g. man page:

https://linux.die.net/man/3/rindex


Fichiers

Révisions associées

Révision 5853fbc1 (diff)
Ajouté par Benjamin Dauvergne il y a presque 5 ans

export symbol lasso_log (#33784)

The symbol lasso_log has to be exported, otherwise Solaris run-time linker
fails due to an unresolved symbol dependency.

Historique

#1

Mis à jour par Vita Batrla il y a presque 5 ans

"issue that the symbol lasso_log is exported" should read as "issue that the symbol lasso_log is not exported"

#2

Mis à jour par Benjamin Dauvergne il y a presque 5 ans

  • Assigné à mis à Benjamin Dauvergne
#3

Mis à jour par Benjamin Dauvergne il y a presque 5 ans

I can't apply your patch with git, could you provide a git-formatted patch from master ?

#4

Mis à jour par Benjamin Dauvergne il y a presque 5 ans

See http://git.entrouvert.org/lasso.git/ for the git repository.

#6

Mis à jour par Vita Batrla il y a presque 5 ans

In commit comment "export symbol lasso_log (fixes: 33784)" should be probably "export symbol lasso_log (fixes #33784)"

#7

Mis à jour par Benjamin Dauvergne il y a presque 5 ans

  • Statut changé de Nouveau à Fermé

Pushed.

Formats disponibles : Atom PDF