Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: after updating, cannot start smbd



M.Drochner%fz-juelich.de@localhost said:
> It looks like a build problem - linked with wrong flags or so

It is the "-pie" ("position independent executable") flag to gcc
which causes this. Meant as a security measure because it allows
the kernel to place it anywhere, non-predictably. Unfortunately
the NetBSD kernel just places it at 0.
(There is some "PAX_ASLR" option which should be able to deal
with this but it fails.)
I'll commit a quick fix in a minute which should allow such binaries
to run generally. Don't know whether there are issues with ld.so.

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index