Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: [Caml-devel] "err" and "error" global variables and dynamic linking (PR#3838) #3839

Closed
vicuna opened this issue Nov 5, 2005 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 5, 2005

Original bug ID: 3839
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Bonjour Pascal,

it seems that variables named "err" and "error" are badly handled by the
dynamic linker.

Le linker dynamique C de Linux, oui. Le problème est reproductible
avec un bout de C qui charge dynamiquement ta bibliothèque dlll.so et
appelle la fonction f(). Il y a des fonctions nommées "err" et
"error" dans la libc, et apparemment le linker dynamique résout tes
variables "err" et "error" en les adresses de tes fonctions.

Tout cela est bien dommage, mais Caml n'y est pour rien.

  • Xavier
@vicuna
Copy link
Author

vicuna commented Nov 16, 2005

Comment author: administrator

see also #3838

@vicuna vicuna closed this as completed Nov 16, 2005
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant