On 2018/11/27 14:52, Sebastian Reitenbach wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   sebas...@cvs.openbsd.org        2018/11/27 14:52:21
> 
> Modified files:
>       net/openvpn-auth-ldap: Makefile 
> 
> Log message:
> Unbreak after recent change to gnustep-module to use
> ld.bfd, it seems to pick up gcc by default, so tell it
> to use whatever is set in CC, OBJC, etc.
> 
> no bump since it only affected amd64 and i386, but there it
> was broken after recent change.
> 

There's still some problem with this on i386,

checking objc/objc.h usability... yes
checking objc/objc.h presence... yes
checking for objc/objc.h... yes
checking if linking libobjc requires pthreads... no
checking for Apple Objective-C runtime... no
checking for GNU Objective C runtime... no
checking for Modern Objective C runtime... no
configure: error: in `/usr/obj/ports/openvpn-auth-ldap-2.0.3/build-i386':
configure: error: Could not locate a working Objective-C runtime.
See `config.log' for more details
*** Error 1 in net/openvpn-auth-ldap 
(/usr/ports/infrastructure/mk/bsd.port.mk:2758 'do-configure')

Looking into config.log the various config tests have results like
this:

configure:5585: cc -o conftest -g -O2 -I/usr/local/include -export-dynamic 
-L/usr/local/lib  conftest.m  -lobjc2 >&5
/usr/local/lib/libobjc2.so.1.1: undefined reference to `_Unwind_GetIP'
/usr/local/lib/libobjc2.so.1.1: undefined reference to 
`_Unwind_Resume_or_Rethrow'
/usr/local/lib/libobjc2.so.1.1: undefined reference to `_Unwind_GetRegionStart'
/usr/local/lib/libobjc2.so.1.1: undefined reference to `_Unwind_Resume'
/usr/local/lib/libobjc2.so.1.1: undefined reference to `_Unwind_RaiseException'
/usr/local/lib/libobjc2.so.1.1: undefined reference to `_Unwind_SetIP'
/usr/local/lib/libobjc2.so.1.1: undefined reference to `_Unwind_GetTextRelBase'
/usr/local/lib/libobjc2.so.1.1: undefined reference to 
`_Unwind_GetLanguageSpecificData'
/usr/local/lib/libobjc2.so.1.1: undefined reference to `_Unwind_SetGR'
/usr/local/lib/libobjc2.so.1.1: undefined reference to `_Unwind_GetDataRelBase'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Reply via email to