> http://build-failures.rhaalovely.net//powerpc/2019-06-29/graphics/vulkan-loader.log

The problem here is pretty simple as soon as base-gcc is implied:

- it has missing switches (that's the failure seen in the log)
- anonymous unions require -std=gnu99 (that's also in the log,
  "declarations that declare nothing" warnings)
- i fixed those in the CMakeLists, but then it fails with another 
  classic: "error: thread-local storage not supported for this target"

I guess it's enough to allow me a COMPILER change. It has fixed the
build [0], i can't say anything about runtime since no macppc 
video cards are compatible.

I made no REVISION bump, because it has never been built on base-gcc
archs and it implies no changes for base-clang ones.

Comments/feedback are welcome!

Charlène.

[0] https://bin.charlenew.xyz/vulkan-loader.log


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/vulkan-loader/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile    22 Jun 2019 17:02:24 -0000      1.3
+++ Makefile    15 Jul 2019 21:25:27 -0000
@@ -26,6 +26,9 @@ RUN_DEPENDS = graphics/vulkan-headers
 
 CONFIGURE_ARGS =       -DBUILD_WSI_WAYLAND_SUPPORT=False
 
+# Thread local storage
+COMPILER =     base-clang ports-gcc
+
 MODULES =      devel/cmake \
                lang/python
 MODPY_VERSION =        ${MODPY_DEFAULT_VERSION_3}

Reply via email to