Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues With gnustep-base/gnustep-base Blocking World Updates
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Mon Sep 23, 2024 1:18 am    Post subject: Issues With gnustep-base/gnustep-base Blocking World Updates Reply with quote

Hardware:

  • HP ZBook 17 G6
  • Processor: Intel Core i9-9880H
  • RAM: 8 GB
  • GPU: NVIDIA Quadro T1000
  • Storage: 256 GB


Host OS:

  • Windows 11 Pro 23H2 (64-bit,) build 22631.4169
  • Windows Feature Experience Pack 1000.22700.1034.0


Host Virtualization Container:

  • Windows Subsystem for Linux 2 v2.2.4 (Windows Virtualization Platform)
  • WSLg version: 1.0.61
  • MSRDC version: 1.2.5326
  • Direct3D version: 1.611.1-81528511
  • DXCore version: 10.0.26091.1-240325-1447.ge-release


Guest OS:

  • Linux Kernel: v5.15.153.1-microsoft-standard-WSL2


Toolchains:

  • (Primary:) LLVM/Clang:

    • sys-devel/llvm-common: v18.1.8
    • sys-devel/llvm: v18.1.8-r4
    • sys-devel/llvm-toolchain-symlinks: v18-r1
    • sys-devel/clang-common: v18.1.8-r1
    • sys-devel/clang: v18.1.8
    • sys-devel/clang-toolchain-symlinks: v18
    • sys-libs/compiler-rt: v18.1.8
    • sys-libs/compiler-rt-sanitizers: v18.1.8
    • sys-devel/clang-runtime: v18.1.8
    • sys-devel/lld: v18.1.8
    • sys-devel/lld-toolchain-symlinks: v18
    • sys-libs/libcxx: v18.1.8
    • sys-libs/libcxxabi: v18.1.8
    • sys-libs/llvm-libunwind: v18.1.8
    • sys-libs/libomp: v18.1.8
    • dev-debug/lldb: v18.1.8

  • (Fallback:) GCC:

    • sys-devel/gnuconfig: v20240728
    • sys-libs/glibc: v2.40
    • sys-kernel/linux-headers: v6.10
    • sys-devel/gcc: v14.2.1_p20240817
    • sys-devel/gcc-config: v2.11
    • sys-devel/binutils: v2.43-r1
    • sys-libs/binutils-libs: v2.43-r2
    • sys-devel/binutils-config: v5.5.2

---

…So I kind of went and did something a bit dumb the weekend before last and have been poking at to debug/fix it off and on ever since. I added some stuff* to `@world` before doing a `@world` update. (Head-desks.)

(* More KDE Gear apps, specifically.)

Here's where I got stuck:

Code:
kde-apps/kde-apps-meta-24.08.0:

`--  kde-apps/kdeutils-meta-24.08.0  (>=kde-apps/kdeutils-meta-24.08.0) ~amd64

    `--  app-arch/unar-1.10.8  (app-arch/unar) amd64
     `--  gnustep-base/gnustep-base-1.30.0  (gnustep-base/gnustep-base) ~amd64
      `--  gnustep-base/gnustep-make-2.9.2  (>=gnustep-base/gnustep-make-2.6.0) ~amd64
       `--  gnustep-base/libobjc2-2.2.1  (gnustep-base/libobjc2) ~amd64
        `--  dev-cpp/robin-map-1.3.0  (dev-cpp/robin-map) amd64


Code:
… # equery uses kde-apps/kdeutils-meta
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for kde-apps/kdeutils-meta-24.08.0:
 U I
 + - 7zip      : Install app-arch/p7zip for 7zip archive support in kde-apps/ark
 + - gpg       : Install kde-apps/kgpg which depends on kde-apps/akonadi
 + - lrz       : Install app-arch/lrzip for LRZ archive support in kde-apps/ark
 + + plasma    : Build optional KDE plasma addons
 + - rar       : Install one of app-arch/rar, app-arch/unrar or app-arch/unar for RAR archive support in kde-apps/ark
 - - webengine : Install app-editors/ghostwriter and kde-apps/kimagemapeditor, requiring dev-qt/qtwebengine


  1. `dev-cpp/robin-map` `emerge`d successfully; I haven't had any issues with it.
  2. I initially had some issues getting `gnustep-base/libobjc2` to `emerge` successfully, but then I figured out what was wrong there:

    The package's source code includes some assembly code for exception handling that Clang's integrated assembly doesn't support and chokes on. Creating a new environment that adds `-fno-integrated-as` to a `COMMON_FLAGS` variable that gets expanded in and added inside `CFLAGS` and `CXXFLAGS` fixed the build. (Don't enable LTO, though; that breaks the build.)
  3. `gnustep-base/gnustep-make` then `emerge`d successfully.
  4. `gnustep-base/gnustep-base` won't `emerge` for me. The specific error I'm seeing is:

    Code:
    … # emerge --verbose --update --oneshot --newuse --changed-slot=y --with-bdeps=y gnustep-base/gnustep-base

    These are the packages that would be merged, in order:

    Calculating dependencies  .... done!
    Dependency resolution took 7.14 s (backtrack: 0/20).

    [ebuild  N     ] gnustep-base/gnustep-base-1.30.0:0/1.30::gentoo  USE="gnutls iconv icu libffi zeroconf -debug -doc" 0 KiB

    Total: 1 package (1 new), Size of downloads: 0 KiB

    >>> Verifying ebuild manifests


    >>> Emerging (1 of 1) gnustep-base/gnustep-base-1.30.0::gentoo
     * gnustep-base-1.30.0.tar.gz BLAKE2B SHA512 size ;-) ...                [ ok ]
    >>> Unpacking source...
    >>> Unpacking gnustep-base-1.30.0.tar.gz to /var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work
    >>> Source unpacked in /var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work
    >>> Preparing source in /var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0 ...
    Cleaning paths from GNUmakefile ...

    Applying gnustep-base-1.26.0-no_compress_man.patch ...

    >>> Source prepared.
    >>> Configuring source in /var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0 ...
    ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gnustep-base-1.30.0 --htmldir=/usr/share/doc/gnustep-base-1.30.0/html --libdir=/usr/lib64 --enable-libffi --disable-ffcall --with-ffi-include=/usr/lib64/libffi/include --enable-tls --enable-iconv --enable-icu --enable-zeroconf --with-xml-prefix=/usr --with-gmp-include=/usr/include --with-gmp-library=/usr/lib64 --with-default-config=/etc/GNUstep/GNUstep.conf

    checking the Objective-C runtime... GNU

    clang NSBlocks.m -c \
          -MMD -MP -Wall -Wdeclaration-after-statement -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -march=native -mtune=native -O2 -pipe -flto=thin -fobjc-runtime=gcc -fobjc-runtime=gcc -fblocks -fconstant-string-class=NSConstantString -I../. -I../ -I../../Headers -I. -I/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/GNUstep/Library/Headers -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -I/usr/lib64/libffi/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include \
           -o obj/ObjectiveC2.obj/NSBlocks.m.o
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:89:15: error: typedef redefinition with different types
          ('void *' vs 'struct objc_property *')
       89 | typedef void *objc_property_t;
          |               ^
    /usr/include/objc/runtime.h:150:31: note: previous definition is here
      150 | typedef struct objc_property* objc_property_t;
          |                               ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:108:9: warning: '_OBJC_NULL_PTR' macro redefined
          [-Wmacro-redefined]
      108 | #define _OBJC_NULL_PTR ((void*)0)
          |         ^
    /usr/include/objc/runtime.h:216:10: note: previous definition is here
      216 | #       define _OBJC_NULL_PTR NULL
          |                ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:133:1: error: unknown type name 'Method_t'; did you mean
          'Method'?
      133 | Method * class_copyMethodList(Class cls, unsigned int *outCount);
          | ^~~~~~
          | Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:142:1: error: unknown type name 'Method_t'; did you mean
          'Method'?
      142 | Method class_getClassMethod(Class aClass, SEL aSelector);
          | ^~~~~~
          | Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:146:1: error: unknown type name 'Method_t'; did you mean
          'Method'?
      146 | Method class_getInstanceMethod(Class aClass, SEL aSelector);
          | ^~~~~~
          | Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:192:32: error: unknown type name 'Method_t'; did you mean
          'Method'?
      192 | char * method_copyArgumentType(Method method, unsigned int index);
          |                                ^~~~~~
          |                                Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:194:30: error: unknown type name 'Method_t'; did you mean
          'Method'?
      194 | char * method_copyReturnType(Method method);
          |                              ^~~~~~
          |                              Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:196:37: error: unknown type name 'Method_t'; did you mean
          'Method'?
      196 | void method_exchangeImplementations(Method m1, Method m2);
          |                                     ^~~~~~
          |                                     Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:196:48: error: unknown type name 'Method_t'; did you mean
          'Method'?
      196 | void method_exchangeImplementations(Method m1, Method m2);
          |                                                ^~~~~~
          |                                                Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:198:29: error: unknown type name 'Method_t'; did you mean
          'Method'?
      198 | void method_getArgumentType(Method method, unsigned int index, char *dst, size_t dst_len);
          |                             ^~~~~~
          |                             Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:200:30: error: unknown type name 'Method_t'; did you mean
          'Method'?
      200 | IMP method_getImplementation(Method method);
          |                              ^~~~~~
          |                              Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:202:20: error: unknown type name 'Method_t'; did you mean
          'Method'?
      202 | SEL method_getName(Method method);
          |                    ^~~~~~
          |                    Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:204:38: error: unknown type name 'Method_t'; did you mean
          'Method'?
      204 | unsigned method_getNumberOfArguments(Method method);
          |                                      ^~~~~~
          |                                      Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:206:27: error: unknown type name 'Method_t'; did you mean
          'Method'?
      206 | void method_getReturnType(Method method, char *dst, size_t dst_len);
          |                           ^~~~~~
          |                           Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:208:37: error: unknown type name 'Method_t'; did you mean
          'Method'?
      208 | const char * method_getTypeEncoding(Method method);
          |                                     ^~~~~~
          |                                     Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    In file included from NSBlocks.m:19:
    ../../Headers/ObjectiveC2/objc/runtime.h:210:30: error: unknown type name 'Method_t'; did you mean
          'Method'?
      210 | IMP method_setImplementation(Method method, IMP imp);
          |                              ^~~~~~
          |                              Method
    ../../Headers/ObjectiveC2/objc/runtime.h:84:17: note: expanded from macro 'Method'
       84 | #       define Method Method_t
          |                       ^
    /usr/include/objc/runtime.h:126:29: note: 'Method' declared here
      126 | typedef struct objc_method *Method;
          |                             ^
    NSBlocks.m:27:26: warning: tentative definition of variable with internal linkage has incomplete
          non-array type 'struct objc_class' [-Wtentative-definition-incomplete-type]
       27 | static struct objc_class _NSConcreteGlobalBlockMeta;
          |                          ^
    /usr/include/objc/runtime.h:84:16: note: forward declaration of 'struct objc_class'
       84 | typedef struct objc_class *Class;
          |                ^
    NSBlocks.m:28:26: warning: tentative definition of variable with internal linkage has incomplete
          non-array type 'struct objc_class' [-Wtentative-definition-incomplete-type]
       28 | static struct objc_class _NSConcreteStackBlockMeta;
          |                          ^
    /usr/include/objc/runtime.h:84:16: note: forward declaration of 'struct objc_class'
       84 | typedef struct objc_class *Class;
          |                ^
    NSBlocks.m:30:26: warning: tentative definition of variable with internal linkage has incomplete
          non-array type 'struct objc_class' [-Wtentative-definition-incomplete-type]
       30 | static struct objc_class _NSBlock;
          |                          ^
    /usr/include/objc/runtime.h:84:16: note: forward declaration of 'struct objc_class'
       84 | typedef struct objc_class *Class;
          |                ^
    NSBlocks.m:31:26: warning: tentative definition of variable with internal linkage has incomplete
          non-array type 'struct objc_class' [-Wtentative-definition-incomplete-type]
       31 | static struct objc_class _NSBlockMeta;
          |                          ^
    /usr/include/objc/runtime.h:84:16: note: forward declaration of 'struct objc_class'
       84 | typedef struct objc_class *Class;
          |                ^
    NSBlocks.m:35:8: error: unknown type name 'objc_mutex_t'
       35 | extern objc_mutex_t __objc_runtime_mutex;
          |        ^
    NSBlocks.m:42:12: error: incomplete definition of type 'struct objc_class'
       42 |   metaClass->class_pointer = superclass->class_pointer;
          |   ~~~~~~~~~^
    /usr/include/objc/runtime.h:84:16: note: forward declaration of 'struct objc_class'
       84 | typedef struct objc_class *Class;
          |                ^
    NSBlocks.m:42:40: error: incomplete definition of type 'struct objc_class'
       42 |   metaClass->class_pointer = superclass->class_pointer;
          |                              ~~~~~~~~~~^
    /usr/include/objc/runtime.h:84:16: note: forward declaration of 'struct objc_class'
       84 | typedef struct objc_class *Class;
          |                ^
    NSBlocks.m:43:12: error: incomplete definition of type 'struct objc_class'
       43 |   metaClass->super_class = superclass->class_pointer;
          |   ~~~~~~~~~^
    /usr/include/objc/runtime.h:84:16: note: forward declaration of 'struct objc_class'
       84 | typedef struct objc_class *Class;
          |                ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    5 warnings and 20 errors generated.
    blocks_runtime.m:92:1: warning: incompatible redeclaration of library function
          '_Block_object_assign' [-Wincompatible-library-redeclaration]
       92 | _Block_object_assign(void *destAddr, void *object, const int flags)
          | ^
    blocks_runtime.m:92:1: note: '_Block_object_assign' is a builtin with type 'void
          (void *, const void *, const int)'
    blocks_runtime.m:154:1: warning: incompatible redeclaration of library function
          '_Block_object_dispose' [-Wincompatible-library-redeclaration]
      154 | _Block_object_dispose(void *object, const int flags)
          | ^
    blocks_runtime.m:154:1: note: '_Block_object_dispose' is a builtin with type
          'void (const void *, const int)'
    gmake[5]: *** [/usr/share/GNUstep/Makefiles/rules.make:534: obj/ObjectiveC2.obj/NSBlocks.m.o] Error 1
    gmake[5]: *** Waiting for unfinished jobs....
    2 warnings generated.
    gmake[4]: *** [/usr/share/GNUstep/Makefiles/Instance/subproject.make:45: internal-subproject-all_] Error 2
    gmake[3]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: ObjectiveC2.all.subproject.variables] Error 2
    gmake[2]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: libgnustep-base.all.library.variables] Error 2
    gmake[1]: *** [/usr/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
    gmake[1]: Leaving directory '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0/Source'
    make: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
     * ERROR: gnustep-base/gnustep-base-1.30.0::gentoo failed (compile phase):
     *   emake failed
     *
     * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.30.0::gentoo'`,
     * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.30.0::gentoo'`.
     * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/environment'.
     * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
     * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'

    >>> Failed to emerge gnustep-base/gnustep-base-1.30.0, Log file:

    >>>  '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'
     * Messages for package gnustep-base/gnustep-base-1.30.0:
     * ERROR: gnustep-base/gnustep-base-1.30.0::gentoo failed (compile phase):
     *   emake failed
     *
     * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.30.0::gentoo'`,
     * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.30.0::gentoo'`.
     * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/environment'.
     * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
     * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'


    …Well, that isn't right. It looks to me like `gnustep-base/gnustep-base`'s build scripts are using GCC's Objective-C run-time library (detected as 'GNU') instead of the `gnustep-base/libobjc2` like they're supposed to be.


Am I doing something wrong, and if so, then what? Is there an option I can pass to `gnustep-base/gnustep-base`'s `./configure` script using `EXTRA_ECONF` to tell it where to find the correct Objecttive-C run-time library and/or which one to use? Alternatively, could I have possibly hit some kind of potential bug here?

My full logs are available as shared publicly from my personal OneDrive:

  • Most logs are [url=https://1drv.ms/f/s!AkojRV5BNJUohpF3wPCAsMLequPi4Q]here[/url].
  • A copy of all Portage environments available on my machine can be found [url=https://1drv.ms/f/s!AkojRV5BNJUohpIOwPCAsMLequPi4Q]here[/url] since the symbolic link to it that exists in the copy of my directory tree of saved `emerge` logs inside my custom WSL2 Gentoo instance appears not to have transferred over with the rest of the folder containing the logs for the failed `emerge` invocation for this issue when I copied it out to Windows and over to OneDrive.
Back to top
View user's profile Send private message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Tue Oct 01, 2024 7:41 pm    Post subject: Reply with quote

Alternatively, here are the logs as a single compressed `.tar.xz` archive:

https://1drv.ms/u/s!AkojRV5BNJUojet_2yzdoXDjRcMuTA?e=9dnVxT
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1957

PostPosted: Tue Oct 01, 2024 10:59 pm    Post subject: Reply with quote

What USE flags are set on gnustep-base/gnustep-make?

Would be worth investigating the configure script as well to see how it determines 'checking the Objective-C runtime... GNU'.
Back to top
View user's profile Send private message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Tue Oct 01, 2024 11:44 pm    Post subject: Reply with quote

sam_ wrote:
What USE flags are set on gnustep-base/gnustep-make?

What I currently have set is:

Code:
… ~ # cat /etc/portage/package.use/gnustep-base
gnustep-base/gnustep-base zeroconf
… ~ # equery uses gnustep-base/gnustep-base
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for gnustep-base/gnustep-base-1.30.0:
 U I
 - - debug    : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces
                see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - doc      : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of
                globally
 + - gnutls   : Prefer net-libs/gnutls as SSL/TLS provider (ineffective with USE=-ssl)
 + + iconv    : Enable support for the iconv character set conversion library
 + + icu      : Enable ICU (Internationalization Components for Unicode) support, using dev-libs/icu
 + - libffi   : Enable support for Foreign Function Interface library
 + - zeroconf : Support for DNS Service Discovery (DNS-SD)
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1957

PostPosted: Wed Oct 02, 2024 1:28 am    Post subject: Reply with quote

Can you check gnustep-make, not gnustep-base?
Back to top
View user's profile Send private message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Wed Oct 02, 2024 1:57 am    Post subject: Reply with quote

sam_ wrote:
Can you check gnustep-make, not gnustep-base?

`gnustep-make`'s `USE` flags are:

Code:
… ~ # equery uses gnustep-base/gnustep-make
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for gnustep-base/gnustep-make-2.9.2:
 U I
 - - debug             : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
                         backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - doc               : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead
                         of globally
 + + libobjc2          : Enables use of the GNUstep Objective-C runtime (gnustep-base/libobjc2) with non-fragile ABI
                         and sys-devel/clang compiler
 + + native-exceptions : Enables use of the native Objective-C exception support (@try/@catch/@finally) built-in
                         objective-c exceptions with compilers that support it
Back to top
View user's profile Send private message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Wed Oct 02, 2024 2:12 am    Post subject: Reply with quote

sam_ wrote:
Would be worth investigating the configure script as well to see how it determines 'checking the Objective-C runtime... GNU'.

Lines 6,034–6,057:

Code:
#--------------------------------------------------------------------
# Set Apple/Darwin/OSX/NeXT information for other tests
#--------------------------------------------------------------------
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the Objective-C runtime" >&5
$as_echo_n "checking the Objective-C runtime... " >&6; }
if test "$OBJC_RUNTIME_LIB" = "nx" -o "$OBJC_RUNTIME_LIB" = "apple"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: NeXT" >&5
$as_echo "NeXT" >&6; }
  OBJCFLAGS="$OBJCFLAGS -fnext-runtime -DNeXT_RUNTIME"
elif test "$OBJC_RUNTIME_LIB" = "ng"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Next Gen" >&5
$as_echo "Next Gen" >&6; }
else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU" >&5
$as_echo "GNU" >&6; }
  if test "$CLANG_CC" = "yes"; then
    OBJCFLAGS="$OBJCFLAGS -fobjc-runtime=gcc"
  fi
fi
LIBOBJC=`gnustep-config --objc-libs`
if test "$LIBOBJC" = ""; then
  as_fn_error $? "The command 'gnustep-config --objc-libs' (provided by the gnustep-make package) returned no Objective-C library.  Unable to continue configuring without Objective-C support." "$LINENO" 5
  exit 1
fi

`OBJC_RUNTIME_LIB` is set on line 2,755.

Lines 2,751–2,755:

Code:
# If LIBRARY_COMBO is undefined, try to use gnustep-config to determine it.
if test -z "$LIBRARY_COMBO"; then
  LIBRARY_COMBO=`gnustep-config --variable=LIBRARY_COMBO 2>&5`
fi
OBJC_RUNTIME_LIB=`echo $LIBRARY_COMBO | tr '-' ' ' | awk '{print $1}'`

It looks like you can either set `LIBRARY_COMBO` before or as part of invoking the configure script or let it ask `gnustep-config` for it. Having it set properly when building `gnustep-make` so that's what `gnustep-config` reports is probably the correct way to do it, though. Here's what I get when I do that same query manually:

Code:
… ~ # gnustep-config --variable=LIBRARY_COMBO
gnu-gnu-gnu

I think that this should be `ng-gnu-gnu` instead? (From what I understand and am seeing documented in `man library-combo`, `ng` or 'Next Gen' refers to the GNUstep runtime — that is, libobjc2.) I'd expect setting the `gnustep-base/gnustep-make` package's `libobjc2` `USE` flag would handle setting this up for users already.
Back to top
View user's profile Send private message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Wed Oct 02, 2024 6:43 pm    Post subject: Reply with quote

Without `EXTRA_ECONF="--with-library-combo=ng-gnu-gnu"` set, `gnustep-make`'s `configure` phase reports:

Code:
checking for library combo... gnu-gnu-gnu

With `EXTRA_ECONF="--with-library-combo=ng-gnu-gnu"` set, `gnustep-make`'s `configure` phase reports:

Code:
checking for library combo... ng-gnu-gnu

and `gnustep-config` then gives the following output:

Code:
… ~ # gnustep-config --variable=LIBRARY_COMBO
ng-gnu-gnu

as desired.

Now I'm hitting a different, weird error earlier during `configure` when building against the libobjc2, though:

Code:

checking whether objc really works... no
I don't seem to be able to use your Objective-C compiler to produce
working binaries!  Please check your Objective-C compiler installation.
If you are using gcc-3.x make sure that your compiler's libgcc_s and libobjc
can be found by the dynamic linker - usually that requires you to play
with LD_LIBRARY_PATH or /etc/ld.so.conf.
Please refer to your compiler installation instructions for more help.
configure: error: The Objective-C compiler does not work or is not installed properly.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0/config.log
 * ERROR: gnustep-base/gnustep-base-1.30.0::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 1790:  Called econf '--enable-libffi' '--disable-ffcall' '--with-ffi-include=/usr/lib64/libffi/include' '--enable-tls' '--enable-iconv' '--enable-icu' '--enable-zeroconf' '--with-xml-prefix=/usr' '--with-gmp-include=/usr/include' '--with-gmp-library=/usr/lib64' '--with-default-config=/etc/GNUstep/GNUstep.conf'
 *        phase-helpers.sh, line  719:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.30.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.30.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'

>>> Failed to emerge gnustep-base/gnustep-base-1.30.0, Log file:

>>>  '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'

 * Messages for package gnustep-base/gnustep-base-1.30.0:

 * ERROR: gnustep-base/gnustep-base-1.30.0::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 1790:  Called econf '--enable-libffi' '--disable-ffcall' '--with-ffi-include=/usr/lib64/libffi/include' '--enable-tls' '--enable-iconv' '--enable-icu' '--enable-zeroconf' '--with-xml-prefix=/usr' '--with-gmp-include=/usr/include' '--with-gmp-library=/usr/lib64' '--with-default-config=/etc/GNUstep/GNUstep.conf'
 *        phase-helpers.sh, line  719:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.30.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.30.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'


And, from `config.log`:

Code:

configure:8255: checking whether objc really works
configure:8275: clang -o conftest -march=native -mtune=native -O2 -pipe -flto=thin  -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include  -x objective-c -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O2 -Wl,--as-needed -Wl,-z,relro,-z,now -L/usr/local/lib64 -L/usr/local/lib64 -L/usr/lib64 -L/usr/lib64 conftest.c -lrt -ldl  -lpthread -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O2 -Wl,--as-needed -Wl,-z,relro,-z,now -pthread -fexceptions -rdynamic -fobjc-runtime=gnustep-2.2 -fblocks -L/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/homedir/GNUstep/Library/Libraries -L/usr/local/lib64 -L/usr/lib64 -lpthread -l:libobjc.so.4 -lm   -lpthread  >&5

ld.lld: error: undefined symbol: objc_msgSend
>>> referenced by conftest.c
>>>               /var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/conftest.lto.conftest-251b04.o:(main)

ld.lld: error: undefined symbol: __objc_load
>>> referenced by conftest.c
>>>               /var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/conftest.lto.conftest-251b04.o:(.objcv2_load_function)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:8275: $? = 1
configure: program exited with status 1

configure:8291: result: no
configure:8299: error: The Objective-C compiler does not work or is not installed properly.

configure: exit 1

(Again, this is when the runtime I want, libobjc2, has been supplied explicitly and forcibly detected correctly and `gnustep-base` is getting built against it. Recall that an incorrect detection of GCC's built-in Objective-C runtime when not explicitly supplying a runtime to build against lets `emerge`ing the package get past this point and to the error I initially opened this thread to ask for help with.)

(There's also some additional information that I've omitted here, including cached input and resulting output `ocnfigure` environment variables and a dump of that `configure` test's `confdefs.h`; I can supply that, too, if need be.) I've fiddled around with the environment in use for both the `gnustep-base/gnustep-base` build and the `gnustep-base/libobjc2` and `gnustep-base/gnustep-make` builds to see if I can make this error go away, but I haven't been able to yet. All configurations I've tried so far give similar errors when I get to the point of `emerge`ing `gnustep-base/gnustep-base` again. (I can supply full build logs later.)

I'm not sure what's going on here. Is there a linkage option that's missing somewhere? Did these symbols get optimized away at some point? Do earlier stages in the chain of `emerge`ing the `gnustep-base/libobjc2`, `gnustep-base/gnustep-make`, and `gnustep-base/gnustep-base` packages save the glags and options that they were built with somewhere for later stages to refer back to later and copy in to override the flags and options that Portage is providing those later packages while `emerge`ing them? (I've poked at that last possibility a little, but I'm not entirely sure I've come to a definitive conclusion as to whether this could be a possibility yet.)

(There's one more thing I can think of to try, and that's to make sure I didn't make any copy-and-paste mistakes when initially setting my new, additional Portage environments up.)
Back to top
View user's profile Send private message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Wed Oct 02, 2024 7:25 pm    Post subject: Reply with quote

No, all my Portage environments look correct.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1957

PostPosted: Thu Oct 03, 2024 3:33 am    Post subject: Reply with quote

Tried without LTO? It wouldn't be the first time LTO has confused a configure test.

You can also rule out the order of libraries by temporarily dropping -Wl,--as-needed from LDFLAGS.
Back to top
View user's profile Send private message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Thu Oct 10, 2024 7:13 pm    Post subject: Reply with quote

I think the issue I'm hitting now may well actually be Bugzilla bug #941167. If I check to see if the `libobjc.so.4` symlink exists, then:

Code:
… ~ # equery files gnustep-base/libobjc2
 * Searching for libobjc2 in gnustep-base ...
 * Contents of gnustep-base/libobjc2-2.2.1:
/usr
/usr/include
/usr/include/Block.h
/usr/include/Block_private.h
/usr/include/objc
/usr/include/objc/Availability.h
/usr/include/objc/Object.h
/usr/include/objc/Protocol.h
/usr/include/objc/blocks_private.h
/usr/include/objc/blocks_runtime.h
/usr/include/objc/capabilities.h
/usr/include/objc/developer.h
/usr/include/objc/encoding.h
/usr/include/objc/hooks.h
/usr/include/objc/message.h
/usr/include/objc/objc-api.h
/usr/include/objc/objc-arc.h
/usr/include/objc/objc-auto.h
/usr/include/objc/objc-class.h
/usr/include/objc/objc-exception.h
/usr/include/objc/objc-runtime.h
/usr/include/objc/objc-visibility.h
/usr/include/objc/objc.h
/usr/include/objc/runtime-deprecated.h
/usr/include/objc/runtime.h
/usr/include/objc/slot.h
/usr/lib64
/usr/lib64/libobjc.so -> libobjc.so.4.6
/usr/lib64/libobjc.so.4.6
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libobjc.pc
/usr/share
/usr/share/doc
/usr/share/doc/libobjc2-2.2.1
/usr/share/doc/libobjc2-2.2.1/README.md.bz2
/usr/share/doc/libobjc2-2.2.1/README.windows.bz2

Code:
… ~ # eza --color=never -@lT -L 1 /usr/lib64/
drwxr-xr-x    - root  1 Oct 23:15 /usr/lib64

lrwxrwxrwx    - root  1 Oct 23:15 ├── libobjc.so -> libobjc.so.4.6
.rwxr-xr-x 204k root  1 Oct 23:15 ├── libobjc.so.4.6


I can see that it doesn't exist.
Back to top
View user's profile Send private message
RandomDSdevel
n00b
n00b


Joined: 28 Feb 2022
Posts: 46
Location: Kokomo, IN, USA

PostPosted: Thu Oct 10, 2024 8:05 pm    Post subject: Reply with quote

Fixing the symbolic links on libobjc2's `.so`s manually does indeed get me a lot further. I'm still seeing the following issues, however:

With `lld`:

Code:

Making all for tool gdnc...

cd .; \
/usr/share/GNUstep/Makefiles/mkinstalldirs ./obj/gdnc.obj/

clang gdnc.m -c \
      -MMD -MP -DGNUSTEP_BASE_INTERNAL=1 -Wall -Wdeclaration-after-statement -DGNUSTEP -DGNUSTEP_BASE_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 -march=native -mtune=native -O2 -pipe -flto=thin -fobjc-runtime=gnustep-2.2 -fblocks -fconstant-string-class=NSConstantString -I../Source/. -I../Source/ -I../Headers -I. -I/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/GNUstep/Library/Headers -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -I/usr/lib64/libffi/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include \
       -o obj/gdnc.obj/gdnc.m.o
clang autogsdoc.m -c \
      -MMD -MP -DGNUSTEP_BASE_INTERNAL=1 -Wall -Wdeclaration-after-statement -DGNUSTEP -DGNUSTEP_BASE_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 -march=native -mtune=native -O2 -pipe -flto=thin -fobjc-runtime=gnustep-2.2 -fblocks -fconstant-string-class=NSConstantString -I../Source/. -I../Source/ -I../Headers -I. -I/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/GNUstep/Library/Headers -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -I/usr/lib64/libffi/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include \
       -o obj/autogsdoc.obj/autogsdoc.m.o

clang AGSHtml.m -c \
      -MMD -MP -DGNUSTEP_BASE_INTERNAL=1 -Wall -Wdeclaration-after-statement -DGNUSTEP -DGNUSTEP_BASE_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 -march=native -mtune=native -O2 -pipe -flto=thin -fobjc-runtime=gnustep-2.2 -fblocks -fconstant-string-class=NSConstantString -I../Source/. -I../Source/ -I../Headers -I. -I/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/GNUstep/Library/Headers -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -I/usr/lib64/libffi/include -I/usr/lib64/libffi/include -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include \
      -fobjc-arc -o obj/autogsdoc.obj/AGSHtml.m.o

clang  -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O2 -Wl,--as-needed -Wl,-z,relro,-z,now   -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O2 -Wl,--as-needed -Wl,-z,relro,-z,now  -pthread -fexceptions -rdynamic -fobjc-runtime=gnustep-2.2 -fblocks  -o obj/autogsdoc \
        ./obj/autogsdoc.obj/autogsdoc.m.o ./obj/autogsdoc.obj/AGSParser.m.o ./obj/autogsdoc.obj/AGSOutput.m.o ./obj/autogsdoc.obj/AGSIndex.m.o ./obj/autogsdoc.obj/AGSHtml.m.o \
          -L../Source/./obj  -L/usr/lib64/./obj  -L/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/GNUstep/Library/Libraries -L/usr/local/lib64 -L/usr/lib64  -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O2 -Wl,--as-needed -Wl,-z,relro,-z,now -L/usr/local/lib64 -L/usr/local/lib64 -L/usr/lib64 -L/usr/lib64/ng-gnu-gnu -L/usr/lib64 -Wl,-rpath,/usr/lib64 -L/usr/lib64   -lgnustep-base   -lpthread -l:libobjc.so.4   -lm

LLVM ERROR: Cannot select: intrinsic %llvm.objc.clang.arc.noop.use
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Running pass 'Function Pass Manager' on module './obj/autogsdoc.obj/AGSHtml.m.o'.
1.      Running pass 'X86 DAG->DAG Instruction Selection' on function '@_i_AGSHtml__init'

 #0 0x00007f3e369ed2a6 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x39802a6)
 #1 0x00007f3e369ea972 llvm::sys::RunSignalHandlers() (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x397d972)
 #2 0x00007f3e369eda5b (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x3980a5b)
 #3 0x00007f3e32c34f20 (/usr/lib64/libc.so.6+0x3bf20)
 #4 0x00007f3e32c8983c (/usr/lib64/libc.so.6+0x9083c)
 #5 0x00007f3e32c34e82 raise (/usr/lib64/libc.so.6+0x3be82)
 #6 0x00007f3e32c1d4f2 abort (/usr/lib64/libc.so.6+0x244f2)
 #7 0x00007f3e3692304a llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x38b604a)
 #8 0x00007f3e37435da8 llvm::SelectionDAGISel::CannotYetSelect(llvm::SDNode*) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x43c8da8)
 #9 0x00007f3e37434e77 llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*, unsigned int) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x43c7e77)
#10 0x00007f3e3a102df8 (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x7095df8)
#11 0x00007f3e3742ab4f llvm::SelectionDAGISel::DoInstructionSelection() (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x43bdb4f)
#12 0x00007f3e37429e6e llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x43bce6e)
#13 0x00007f3e37428aed llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x43bbaed)
#14 0x00007f3e37425b2f llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x43b8b2f)
#15 0x00007f3e3a0f929c (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x708c29c)
#16 0x00007f3e36e946db llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x3e276db)
#17 0x00007f3e36b85bb8 llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x3b18bb8)
#18 0x00007f3e36b8e1d3 llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x3b211d3)
#19 0x00007f3e36b86369 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x3b19369)
#20 0x00007f3e3854b447 (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x54de447)
#21 0x00007f3e3854cb27 (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x54dfb27)
#22 0x00007f3e3854c6d2 llvm::lto::thinBackend(llvm::lto::Config const&, unsigned int, std::function<llvm::Expected<std::unique_ptr<llvm::CachedFileStream, std::default_delete<llvm::CachedFileStream>>> (unsigned int, llvm::Twine const&)>, llvm::Module&, llvm::ModuleSummaryIndex const&, llvm::DenseMap<llvm::StringRef, std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long>>, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long>>>> const&, llvm::DenseMap<unsigned long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long, void>, llvm::detail::DenseMapPair<unsigned long, llvm::GlobalValueSummary*>> const&, llvm::MapVector<llvm::StringRef, llvm::BitcodeModule, llvm::DenseMap<llvm::StringRef, unsigned int, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, unsigned int>>, llvm::SmallVector<std::pair<llvm::StringRef, llvm::BitcodeModule>, 0u>>*, std::vector<unsigned char, std::allocator<unsigned char>> const&) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x54df6d2)
#23 0x00007f3e38542d37 (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x54d5d37)
#24 0x00007f3e3854217e (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x54d517e)
#25 0x00007f3e368e0ed2 (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x3873ed2)
#26 0x00007f3e369898c8 llvm::ThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x391c8c8)
#27 0x00007f3e3698a654 (/usr/lib/llvm/18/bin/../lib64/libLLVM.so.18.1+0x391d654)
#28 0x00007f3e32c87b11 (/usr/lib64/libc.so.6+0x8eb11)
#29 0x00007f3e32cf72e8 (/usr/lib64/libc.so.6+0xfe2e8)

clang: error: unable to execute command: Aborted
clang: error: linker command failed due to signal (use -v to see invocation)
gmake[4]: *** [/usr/share/GNUstep/Makefiles/Instance/tool.make:89: obj/autogsdoc] Error 1
gmake[3]: *** [/usr/share/GNUstep/Makefiles/Instance/tool.make:74: internal-tool-all_] Error 2
gmake[2]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: autogsdoc.all.tool.variables] Error 2
gmake[2]: *** Waiting for unfinished jobs....

make: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
 * ERROR: gnustep-base/gnustep-base-1.30.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.30.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.30.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'

>>> Failed to emerge gnustep-base/gnustep-base-1.30.0, Log file:

>>>  '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'

 * Messages for package gnustep-base/gnustep-base-1.30.0:

 * ERROR: gnustep-base/gnustep-base-1.30.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.30.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.30.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'

Switching `gnustep-base/gnustep-base` to a Clang Portage environment that doesn't use `lld` (`compiler-clang-no-lld`) gets rid of that error, but I still see another one after that during the `gnustep-base/gnustep-base` package's final linking step:

Code:

clang  -shared -Wl,-soname,libgnustep-base.so.1.30  -fuse-ld=ld --ld-path=/usr/bin/ld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -Wl,-z,relro,-z,now   -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O2 -Wl,--as-needed -Wl,-z,relro,-z,now  -pthread -fexceptions -rdynamic -o ./obj/libgnustep-base.so.1.30.0 obj/libgnustep-base.obj/GSLocale.m.o obj/libgnustep-base.obj/preface.m.o obj/libgnustep-base.obj/cifframe.m.o obj/libgnustep-base.obj/CXXException.m.o obj/libgnustep-base.obj/GSArray.m.o obj/libgnustep-base.obj/GSAttributedString.m.o obj/libgnustep-base.obj/GSBlocks.m.o obj/libgnustep-base.obj/GSConcreteValue.m.o obj/libgnustep-base.obj/GSCountedSet.m.o obj/libgnustep-base.obj/GSDictionary.m.o obj/libgnustep-base.obj/GSFTPURLHandle.m.o obj/libgnustep-base.obj/GSFormat.m.o obj/libgnustep-base.obj/GSHTTPAuthentication.m.o obj/libgnustep-base.obj/GSHTTPURLHandle.m.o obj/libgnustep-base.obj/GSICUString.m.o obj/libgnustep-base.obj/GSOrderedSet.m.o obj/libgnustep-base.obj/GSPrivateHash.m.o obj/libgnustep-base.obj/GSQuickSort.m.o obj/libgnustep-base.obj/GSRunLoopWatcher.m.o obj/libgnustep-base.obj/GSSet.m.o obj/libgnustep-base.obj/GSShellSort.m.o obj/libgnustep-base.obj/GSSocketStream.m.o obj/libgnustep-base.obj/GSStream.m.o obj/libgnustep-base.obj/GSString.m.o obj/libgnustep-base.obj/GSTimSort.m.o obj/libgnustep-base.obj/GSTLS.m.o obj/libgnustep-base.obj/GSValue.m.o obj/libgnustep-base.obj/GSSocksParser/GSSocksParser.m.o obj/libgnustep-base.obj/GSSocksParser/GSSocksParserPrivate.m.o obj/libgnustep-base.obj/GSSocksParser/GSSocks4Parser.m.o obj/libgnustep-base.obj/GSSocksParser/GSSocks5Parser.m.o obj/libgnustep-base.obj/NSAffineTransform.m.o obj/libgnustep-base.obj/NSAppleEventDescriptor.m.o obj/libgnustep-base.obj/NSAppleEventManager.m.o obj/libgnustep-base.obj/NSAppleScript.m.o obj/libgnustep-base.obj/NSArchiver.m.o obj/libgnustep-base.obj/NSArray.m.o obj/libgnustep-base.obj/NSAssertionHandler.m.o obj/libgnustep-base.obj/NSAttributedString.m.o obj/libgnustep-base.obj/NSAutoreleasePool.m.o obj/libgnustep-base.obj/NSBackgroundActivityScheduler.m.o obj/libgnustep-base.obj/NSBundle.m.o obj/libgnustep-base.obj/NSByteCountFormatter.m.o obj/libgnustep-base.obj/NSCache.m.o obj/libgnustep-base.obj/NSCachedURLResponse.m.o obj/libgnustep-base.obj/NSCalendar.m.o obj/libgnustep-base.obj/NSCalendarDate.m.o obj/libgnustep-base.obj/NSCallBacks.m.o obj/libgnustep-base.obj/NSCharacterSet.m.o obj/libgnustep-base.obj/NSClassDescription.m.o obj/libgnustep-base.obj/NSCoder.m.o obj/libgnustep-base.obj/NSCopyObject.m.o obj/libgnustep-base.obj/NSCountedSet.m.o obj/libgnustep-base.obj/NSConcreteHashTable.m.o obj/libgnustep-base.obj/NSConcreteMapTable.m.o obj/libgnustep-base.obj/NSConnection.m.o obj/libgnustep-base.obj/NSData.m.o obj/libgnustep-base.obj/NSDate.m.o obj/libgnustep-base.obj/NSDateComponentsFormatter.m.o obj/libgnustep-base.obj/NSDateFormatter.m.o obj/libgnustep-base.obj/NSDateInterval.m.o obj/libgnustep-base.obj/NSDateIntervalFormatter.m.o obj/libgnustep-base.obj/NSDebug.m.o obj/libgnustep-base.obj/NSDecimal.m.o obj/libgnustep-base.obj/NSDecimalNumber.m.o obj/libgnustep-base.obj/NSDictionary.m.o obj/libgnustep-base.obj/NSDistantObject.m.o obj/libgnustep-base.obj/NSDistributedLock.m.o obj/libgnustep-base.obj/NSDistributedNotificationCenter.m.o obj/libgnustep-base.obj/NSEnergyFormatter.m.o obj/libgnustep-base.obj/NSEnumerator.m.o obj/libgnustep-base.obj/NSError.m.o obj/libgnustep-base.obj/NSException.m.o obj/libgnustep-base.obj/NSExtensionContext.m.o obj/libgnustep-base.obj/NSExtensionItem.m.o obj/libgnustep-base.obj/NSFileCoordinator.m.o obj/libgnustep-base.obj/NSFileHandle.m.o obj/libgnustep-base.obj/NSFileManager.m.o obj/libgnustep-base.obj/NSFileVersion.m.o obj/libgnustep-base.obj/NSFileWrapper.m.o obj/libgnustep-base.obj/NSFormatter.m.o obj/libgnustep-base.obj/NSGarbageCollector.m.o obj/libgnustep-base.obj/NSGeometry.m.o obj/libgnustep-base.obj/NSHashTable.m.o obj/libgnustep-base.obj/NSHFSFileTypes.m.o obj/libgnustep-base.obj/NSHost.m.o obj/libgnustep-base.obj/NSHTTPCookie.m.o obj/libgnustep-base.obj/NSHTTPCookieStorage.m.o obj/libgnustep-base.obj/NSIndexPath.m.o obj/libgnustep-base.obj/NSIndexSet.m.o obj/libgnustep-base.obj/NSInvocation.m.o obj/libgnustep-base.obj/NSInvocationOperation.m.o obj/libgnustep-base.obj/NSISO8601DateFormatter.m.o obj/libgnustep-base.obj/NSItemProvider.m.o obj/libgnustep-base.obj/NSItemProviderReadingWriting.m.o obj/libgnustep-base.obj/NSJSONSerialization.m.o obj/libgnustep-base.obj/NSKeyedArchiver.m.o obj/libgnustep-base.obj/NSKeyedUnarchiver.m.o obj/libgnustep-base.obj/NSKeyValueCoding.m.o obj/libgnustep-base.obj/NSKeyValueObserving.m.o obj/libgnustep-base.obj/NSLengthFormatter.m.o obj/libgnustep-base.obj/NSLinguisticTagger.m.o obj/libgnustep-base.obj/NSLocale.m.o obj/libgnustep-base.obj/NSLock.m.o obj/libgnustep-base.obj/NSLog.m.o obj/libgnustep-base.obj/NSMapTable.m.o obj/libgnustep-base.obj/NSMassFormatter.m.o obj/libgnustep-base.obj/NSMeasurementFormatter.m.o obj/libgnustep-base.obj/NSMeasurement.m.o obj/libgnustep-base.obj/NSMetadata.m.o obj/libgnustep-base.obj/NSMetadataAttributes.m.o obj/libgnustep-base.obj/NSMethodSignature.m.o obj/libgnustep-base.obj/NSNetServices.m.o obj/libgnustep-base.obj/NSNotification.m.o obj/libgnustep-base.obj/NSNotificationCenter.m.o obj/libgnustep-base.obj/NSNotificationQueue.m.o obj/libgnustep-base.obj/NSNull.m.o obj/libgnustep-base.obj/NSNumber.m.o obj/libgnustep-base.obj/NSNumberFormatter.m.o obj/libgnustep-base.obj/NSObjCRuntime.m.o obj/libgnustep-base.obj/NSObject.m.o obj/libgnustep-base.obj/NSObjectScripting.m.o obj/libgnustep-base.obj/NSObject+NSComparisonMethods.m.o obj/libgnustep-base.obj/NSOperation.m.o obj/libgnustep-base.obj/NSOrderedSet.m.o obj/libgnustep-base.obj/NSOrthography.m.o obj/libgnustep-base.obj/NSPage.m.o obj/libgnustep-base.obj/NSPathUtilities.m.o obj/libgnustep-base.obj/NSPersonNameComponents.m.o obj/libgnustep-base.obj/NSPersonNameComponentsFormatter.m.o obj/libgnustep-base.obj/NSPipe.m.o obj/libgnustep-base.obj/NSPointerArray.m.o obj/libgnustep-base.obj/NSPointerFunctions.m.o obj/libgnustep-base.obj/NSConcretePointerFunctions.m.o obj/libgnustep-base.obj/NSPort.m.o obj/libgnustep-base.obj/NSPortCoder.m.o obj/libgnustep-base.obj/NSPortMessage.m.o obj/libgnustep-base.obj/NSPortNameServer.m.o obj/libgnustep-base.obj/NSPredicate.m.o obj/libgnustep-base.obj/NSProcessInfo.m.o obj/libgnustep-base.obj/NSProgress.m.o obj/libgnustep-base.obj/NSPropertyList.m.o obj/libgnustep-base.obj/NSProtocolChecker.m.o obj/libgnustep-base.obj/NSProxy.m.o obj/libgnustep-base.obj/NSRange.m.o obj/libgnustep-base.obj/NSRegularExpression.m.o obj/libgnustep-base.obj/NSRunLoop.m.o obj/libgnustep-base.obj/NSScanner.m.o obj/libgnustep-base.obj/NSScriptClassDescription.m.o obj/libgnustep-base.obj/NSScriptCoercionHandler.m.o obj/libgnustep-base.obj/NSScriptCommand.m.o obj/libgnustep-base.obj/NSScriptCommandDescription.m.o obj/libgnustep-base.obj/NSScriptExecutionContext.m.o obj/libgnustep-base.obj/NSScriptKeyValueCoding.m.o obj/libgnustep-base.obj/NSScriptObjectSpecifiers.m.o obj/libgnustep-base.obj/NSScriptStandardSuiteCommands.m.o obj/libgnustep-base.obj/NSScriptSuiteRegistry.m.o obj/libgnustep-base.obj/NSUnit.m.o obj/libgnustep-base.obj/NSUserActivity.m.o obj/libgnustep-base.obj/NSUserScriptTask.m.o obj/libgnustep-base.obj/NSSerializer.m.o obj/libgnustep-base.obj/NSSet.m.o obj/libgnustep-base.obj/NSSocketPort.m.o obj/libgnustep-base.obj/NSSocketPortNameServer.m.o obj/libgnustep-base.obj/NSSortDescriptor.m.o obj/libgnustep-base.obj/NSSpellServer.m.o obj/libgnustep-base.obj/NSString.m.o obj/libgnustep-base.obj/NSTask.m.o obj/libgnustep-base.obj/NSThread.m.o obj/libgnustep-base.obj/NSTimer.m.o obj/libgnustep-base.obj/NSTimeZone.m.o obj/libgnustep-base.obj/NSUbiquitousKeyValueStore.m.o obj/libgnustep-base.obj/NSUnarchiver.m.o obj/libgnustep-base.obj/NSUndoManager.m.o obj/libgnustep-base.obj/NSURL.m.o obj/libgnustep-base.obj/NSURLAuthenticationChallenge.m.o obj/libgnustep-base.obj/NSURLCache.m.o obj/libgnustep-base.obj/NSURLCredential.m.o obj/libgnustep-base.obj/NSURLConnection.m.o obj/libgnustep-base.obj/NSURLCredentialStorage.m.o obj/libgnustep-base.obj/NSURLDownload.m.o obj/libgnustep-base.obj/NSURLProtectionSpace.m.o obj/libgnustep-base.obj/NSURLProtocol.m.o obj/libgnustep-base.obj/NSURLRequest.m.o obj/libgnustep-base.obj/NSURLResponse.m.o obj/libgnustep-base.obj/NSTextCheckingResult.m.o obj/libgnustep-base.obj/NSURLHandle.m.o obj/libgnustep-base.obj/NSUserDefaults.m.o obj/libgnustep-base.obj/NSUserNotification.m.o obj/libgnustep-base.obj/NSUUID.m.o obj/libgnustep-base.obj/NSValue.m.o obj/libgnustep-base.obj/NSValueTransformer.m.o obj/libgnustep-base.obj/NSXMLDocument.m.o obj/libgnustep-base.obj/NSXMLDTD.m.o obj/libgnustep-base.obj/NSXMLDTDNode.m.o obj/libgnustep-base.obj/NSXMLElement.m.o obj/libgnustep-base.obj/NSXMLNode.m.o obj/libgnustep-base.obj/NSXMLParser.m.o obj/libgnustep-base.obj/NSXPCConnection.m.o obj/libgnustep-base.obj/NSZone.m.o obj/libgnustep-base.obj/externs.m.o obj/libgnustep-base.obj/objc-load.m.o obj/libgnustep-base.obj/GSFileHandle.m.o obj/libgnustep-base.obj/NSMessagePort.m.o obj/libgnustep-base.obj/NSMessagePortNameServer.m.o obj/libgnustep-base.obj/GSAvahiNetService.m.o obj/libgnustep-base.obj/GSAvahiNetServiceBrowser.m.o obj/libgnustep-base.obj/GSAvahiClient.m.o obj/libgnustep-base.obj/GSAvahiRunLoopIntegration.m.o obj/libgnustep-base.obj/GSFFIInvocation.m.o Additions/./obj/Additions.obj/GSTypeEncoding.c.o Additions/./obj/Additions.obj/GSObjCRuntime.m.o Additions/./obj/Additions.obj/GCObject.m.o Additions/./obj/Additions.obj/GCArray.m.o Additions/./obj/Additions.obj/GCDictionary.m.o Additions/./obj/Additions.obj/GSLock.m.o Additions/./obj/Additions.obj/GSMime.m.o Additions/./obj/Additions.obj/GSXML.m.o Additions/./obj/Additions.obj/GSFunctions.m.o Additions/./obj/Additions.obj/GSInsensitiveDictionary.m.o Additions/./obj/Additions.obj/NSArray+GNUstepBase.m.o Additions/./obj/Additions.obj/NSAttributedString+GNUstepBase.m.o Additions/./obj/Additions.obj/NSBundle+GNUstepBase.m.o Additions/./obj/Additions.obj/NSCalendarDate+GNUstepBase.m.o Additions/./obj/Additions.obj/NSData+GNUstepBase.m.o Additions/./obj/Additions.obj/NSDebug+GNUstepBase.m.o Additions/./obj/Additions.obj/NSError+GNUstepBase.m.o Additions/./obj/Additions.obj/NSHashTable+GNUstepBase.m.o Additions/./obj/Additions.obj/NSFileHandle+GNUstepBase.m.o Additions/./obj/Additions.obj/NSLock+GNUstepBase.m.o Additions/./obj/Additions.obj/NSMutableString+GNUstepBase.m.o Additions/./obj/Additions.obj/NSNumber+GNUstepBase.m.o Additions/./obj/Additions.obj/NSObject+GNUstepBase.m.o Additions/./obj/Additions.obj/NSPropertyList+GNUstepBase.m.o Additions/./obj/Additions.obj/NSProcessInfo+GNUstepBase.m.o Additions/./obj/Additions.obj/NSStream+GNUstepBase.m.o Additions/./obj/Additions.obj/NSString+GNUstepBase.m.o Additions/./obj/Additions.obj/NSTask+GNUstepBase.m.o Additions/./obj/Additions.obj/NSThread+GNUstepBase.m.o Additions/./obj/Additions.obj/NSURL+GNUstepBase.m.o Additions/./obj/Additions.obj/Unicode.m.o unix/./obj/unix.obj/GSRunLoopCtxt.m.o unix/./obj/unix.obj/NSStream.m.o   -L./obj  -L/usr/lib64/./obj  -L/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/GNUstep/Library/Libraries -L/usr/local/lib64 -L/usr/lib64  -fuse-ld=ld --ld-path=/usr/bin/ld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -Wl,-z,relro,-z,now -L/usr/local/lib64 -L/usr/local/lib64 -L/usr/lib64 -L/usr/lib64/ng-gnu-gnu -L/usr/lib64 -Wl,-rpath,/usr/lib64 -L/usr/lib64 -lpthread -l:libobjc.so.4 -lgmp -lavahi-common -lavahi-client -lgnutls -lxslt -lxml2 -lxml2 -lffi -lbfd -lz -liberty -lzstd -lrt -ldl  -lpthread -lz -licui18n -licuuc -licudata -lcurl -lm  && (cd ./obj; rm -f libgnustep-base.so; if [ "libgnustep-base.so.1.30" != "libgnustep-base.so.1.30.0" ]; then rm -f libgnustep-base.so.1.30; ln -s libgnustep-base.so.1.30.0 libgnustep-base.so.1.30; fi; ln -s libgnustep-base.so.1.30 libgnustep-base.so; )
obj/libgnustep-base.obj/GSLocale.m.o: file not recognized: file format not recognized
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [/usr/share/GNUstep/Makefiles/Instance/library.make:301: obj/libgnustep-base.so.1.30.0] Error 1
gmake[3]: *** [/usr/share/GNUstep/Makefiles/Instance/library.make:286: internal-library-all_] Error 2
gmake[2]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: libgnustep-base.all.library.variables] Error 2
gmake[1]: *** [/usr/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
gmake[1]: Leaving directory '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0/Source'
make: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
 * ERROR: gnustep-base/gnustep-base-1.30.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.30.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.30.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'

>>> Failed to emerge gnustep-base/gnustep-base-1.30.0, Log file:

>>>  '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'

 * Messages for package gnustep-base/gnustep-base-1.30.0:

 * ERROR: gnustep-base/gnustep-base-1.30.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnustep-base/gnustep-base-1.30.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gnustep-base/gnustep-base-1.30.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
 * S: '/var/tmp/portage/gnustep-base/gnustep-base-1.30.0/work/gnustep-base-1.30.0'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum