Hello all I try to build a gnustep app under Ubuntu24 on arm. compiling and installing gnustep worked as normal but when I try to run my own code I get failures during ./configure phase
checking whether we are cross compiling... configure: error: in `/Users/afink/development/gitlab/ulibsctp': configure: error: cannot run C compiled programs. so I analyzed what it does there and it runs a simple test case I can reproduce test.c: int main(int argc,char **argv) { return 0; } # /usr/bin/clang -o conftest -std=c99 -fPIC -DLINUX -D_XOPEN_SOURCE=700 -D_POSIX_SOURCE -D_DEFAULT_SOURCE -DSCTP_IN_KERNEL=1 -Wno-trigraphs -Wno-missing-field-initializers -Wmissing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -fobjc-arc -I/usr/GNUstep/System/Library/Headers/ -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -I /usr/include -fblocks -fobjc-runtime=gnustep-2.0 -fblocks -fconstant-string-class=NSConstantString -I. -I/root/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/local/include -I/usr/GNUstep/System/Library/Headers/ -DHAVE_OPENSSL=1 -fuse-ld=gold -fuse-ld=gold -pthread -fexceptions -rdynamic -fobjc-runtime=gnustep-2.0 -fblocks -L/root/GNUstep/Library/Libraries -L/usr/GNUstep/Local/Library/Libraries -L/usr/GNUstep/System/Library/Libraries -lgnustep-base -lpthread -l:libobjc.so.4.6 -lm -lobjc -lavahi-client -lavahi-core -lavahi-common -lgnustep-base -ldl -lsctp -lbsd -luuid -lssl -lcrypto test.c clang: warning: argument unused during compilation: '-fobjc-exceptions' [-Wunused-command-line-argument] ]# ./conftest Segmentation fault (core dumped) # lldb conftest (lldb) target create "conftest" Current executable set to '/Users/afink/development/gitlab/ulibsctp/conftest' (aarch64). (lldb) run Process 1686 launched: '/Users/afink/development/gitlab/ulibsctp/conftest' (aarch64) Process 1686 stopped * thread #1, name = 'conftest', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x0) frame #0: 0x0000fffff7f8f2d8 libobjc.so.4.6`selector_lookup(char const*, char const*) [inlined] tsl::rh::power_of_two_growth_policy<2ul>::bucket_for_hash(this=0x0000000000000000, hash=18399730721004063734) const at robin_growth_policy.h:115:19 (lldb) Anyone having a clue whats going terriblly wrong here?