tech-pkg archive

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

Objective-C is in trouble



In the latest NetBSD x86_64 build, I see several build failures for
software in Objective-C. It looks like the compiler doesn't work at
all.

objfw: https://releng.netbsd.org/bulktracker/pkg/55031319
gnustep-objc: https://releng.netbsd.org/bulktracker/pkg/55027871

-- Check for working C compiler:
/pbulk/work/devel/gnustep-objc/work/.cwrapper/bin/gcc - broken
CMake Error at /usr/pkg/share/cmake-3.31/Modules/CMakeTestCCompiler.cmake:67
(message):
  The C compiler

    "/pbulk/work/devel/gnustep-objc/work/.cwrapper/bin/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir:
'/pbulk/work/devel/gnustep-objc/work/libobjc2-2.2.1/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-0bkvM6'

    Run Build Command(s): /usr/pkg/bin/cmake -E env VERBOSE=1
/pbulk/work/devel/gnustep-objc/work/.tools/bin/make -f Makefile
cmTC_615da/fast
    /pbulk/work/devel/gnustep-objc/work/.tools/bin/make  -f
CMakeFiles/cmTC_615da.dir/build.make CMakeFiles/cmTC_615da.dir/build
    Building C object CMakeFiles/cmTC_615da.dir/testCCompiler.c.o
    /pbulk/work/devel/gnustep-objc/work/.cwrapper/bin/gcc   -O2
-Wno-import -I/usr/include -I/usr/pkg/include -MD -MT
CMakeFiles/cmTC_615da.dir/testCCompiler.c.o -MF
CMakeFiles/cmTC_615da.dir/testCCompiler.c.o.d -o
CMakeFiles/cmTC_615da.dir/testCCompiler.c.o -c
/pbulk/work/devel/gnustep-objc/work/libobjc2-2.2.1/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-0bkvM6/testCCompiler.c
    clang: warning: -Wl,-zrelro: 'linker' input unused
[-Wunused-command-line-argument]
    Linking C executable cmTC_615da
    /usr/pkg/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_615da.dir/link.txt --verbose=1
    PLEASE submit a bug report to
https://github.com/llvm/llvm-project/issues/ and include the crash
backtrace, preprocessed source, and associated run script.
    Stack dump:
    0. Program arguments: /usr/pkg/bin/clang -fcommon
-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-zrelro -fPIC
-fcommon -Wno-error=implicit-int -Wno-error=int-conversion
-Wno-error=incompatible-pointer-types -O2 -Wno-import
-I/pbulk/work/devel/gnustep-objc/work/.buildlink/include -Wl,-zrelro
-L/pbulk/work/devel/gnustep-objc/work/.buildlink/lib
-Wl,-rpath,/usr/pkg/lib CMakeFiles/cmTC_615da.dir/testCCompiler.c.o -o
cmTC_615da -pie
    #0 0x0000740bd1637425
llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/usr/pkg/lib/libLLVM.so.19.1+0xc37425)
    #1 0x0000740bd1635066 llvm::sys::RunSignalHandlers()
(/usr/pkg/lib/libLLVM.so.19.1+0xc35066)
    #2 0x0000740bd1635c18 (/usr/pkg/lib/libLLVM.so.19.1+0xc35c18)
    #3 0x0000740bcfca2220 __sigtramp_siginfo_2 (/usr/lib/libc.so.12+0xa2220)
    /pbulk/work/devel/gnustep-objc/work/.cwrapper/bin/gcc -O2
-Wno-import -I/usr/include -I/usr/pkg/include  -Wl,-zrelro -L/usr/lib
-Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
CMakeFiles/cmTC_615da.dir/testCCompiler.c.o -o cmTC_615da
    Error running link command: Segmentation fault*** Error code 1

Any ideas?

-- 
Benny


Home | Main Index | Thread Index | Old Index