[MacPorts] #62468: _sasl_locate_entry() in Cyrus SASL's lib/dlopen.c assumes a leading underscore is needed for calls to dlsym()
MacPorts
noreply at macports.org
Wed Mar 17 00:24:02 UTC 2021
#62468: _sasl_locate_entry() in Cyrus SASL's lib/dlopen.c assumes a leading
underscore is needed for calls to dlsym()
---------------------------------------------+--------------------
Reporter: steven-michaud | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: cyrus-sasl2 @2.1.27_2+kerberos |
---------------------------------------------+--------------------
Comment (by kencu):
but in the next section, comes something interesting that could be the
issue. What system are you on? On some systems, this implicit-function-
declaration is raised to an error.
{{{
configure:15311: checking for underscore before symbols
configure:15327: result: yes
configure:15333: checking whether dlsym adds the underscore for us
configure:15355: /usr/bin/clang -o conftest -Wall -W -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch
x86_64 -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
-arch x86_64 conftest.c -ldl >&5
conftest.c:37:18: warning: unused variable 'i' [-Wunused-variable]
void foo() { int i=0;}
^
conftest.c:40:23: warning: implicitly declaring library function 'exit'
with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-
declaration]
if(ptr1 && !ptr2) exit(0); } exit(1); }
^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62468#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list