First sorry I am new and not sure how to reply to a message. Original message is here: https://lists.yoctoproject.org/g/yocto/message/64208
Peter Marko pointed out I was on an unsupported branch. So I spun up a new 22.04 Ubuntu to build on. I am still seeing the same _GNU_SOURCE redefined errors. local.conf > > BBMASK = "v4l-utils|yavta" > LICENSE_FLAGS_ACCEPTED += "xilinx" > MACHINE = "microzed-zynq7" > #HDF_MACHINE = "microzed-zynq7" > CONFIG_DTFILE = "${TOPDIR}/../zynq-microzed.dts" > DISTRO ?= "poky" > PACKAGE_CLASSES ?= "package_ipk" > EXTRA_IMAGEDEPENDS += "u-boot-xlnx-scr" > EXTRA_IMAGE_FEATURES ?= "debug-tweaks" > EXTRA_OEMAKE += "DEVICE_TREE=zynq-microzed" > IMAGE_INSTALL += "u-boot linux-firmware" > IMAGE_INSTALL += "device-tree-microzed" > PREFERRED_PROVIDER_u-boot = "u-boot-microzed" > PREFERRED_PROVIDER_virtual/kernel = "linux-xlnx" > PREFERRED_VERSION_virtual/hdf = "2023.2" > DEVICE_TREE = "zynq-zybo-z7" > KERNEL_DEVICETREE = "zynq-microzed.dts" > TARGET_CFLAGS:append = " -D_GNU_SOURCE" > INHERIT:remove = "uninative" > > bblayers.conf > > POKY_BBLAYERS_CONF_VERSION = "2" > BBPATH = "${TOPDIR}" > BBFILES ?= "" > BBLAYERS ?= " \ > ${TOPDIR}/../meta \ > ${TOPDIR}/../meta-poky \ > ${TOPDIR}/../meta-yocto-bsp \ > ${TOPDIR}/../meta-xilinx-tools \ > ${TOPDIR}/../meta-xilinx/meta-xilinx-core \ > ${TOPDIR}/../meta-xilinx/meta-xilinx-bsp \ > ${TOPDIR}/../meta-xilinx/meta-xilinx-vendor \ > ${TOPDIR}/../meta-xilinx/meta-xilinx-standalone \ > ${TOPDIR}/../meta-openembedded/meta-oe \ > ${TOPDIR}/../meta-openembedded/meta-filesystems \ > " > > > > > > Build Configuration: > BB_VERSION = "2.2.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "ubuntu-22.04" > TARGET_SYS = "arm-poky-linux-gnueabi" > MACHINE = "microzed-zynq7" > DISTRO = "poky" > DISTRO_VERSION = "4.1.4" > TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard" > TARGET_FPU = "hard" > XILINX_XSCT_VERSION = "2024.1" > SOC_VARIANT = "7z" > XILINX_RELEASE_VERSION = "v2024.1" > meta > meta-poky > meta-yocto-bsp = "langdale:3e95f268ce04b49ba6731fd4bbc53b1693c21963" > > meta-xilinx-tools = "langdale:1b5a45eb94ebed00eea3e5915b9171a2c1ed9d0e" > > meta-xilinx-core > meta-xilinx-bsp > meta-xilinx-vendor > meta-xilinx-standalone = > "langdale:de3eefaa7037dadbf566c1542da27a79eaae648d" > meta-oe > meta-filesystems = "langdale:cbbaa82238cd60f08c9b9cb58dde59d5f9318c7b" > > > > > _SOURCE -pthread -c > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/allocator.c > -fPIC -DPIC -o .libs/allocator.o > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/alloc.c:30: > error: "_GNU_SOURCE" redefined [-Werror] > | 30 | #define _GNU_SOURCE > | | > | <command-line>: note: this is the location of the previous definition > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/allocator.c:30: > error: "_GNU_SOURCE" redefined [-Werror] > | 30 | #define _GNU_SOURCE > | | > | <command-line>: note: this is the location of the previous definition > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/env.c:29: > error: "_GNU_SOURCE" redefined [-Werror] > | 29 | #define _GNU_SOURCE > | | > | <command-line>: note: this is the location of the previous definition > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/oacc-profiling.c:29: > error: "_GNU_SOURCE" redefined [-Werror] > | 29 | #define _GNU_SOURCE > | | > | <command-line>: note: this is the location of the previous definition > | In file included from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/wait.h:46, > > | from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/sem.c:30: > > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/futex.h:36: > error: "_GNU_SOURCE" redefined [-Werror] > | 36 | #define _GNU_SOURCE > | | > | In file included from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/wait.h:46, > > | from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/lock.c:33: > > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/futex.h:36: > error: "_GNU_SOURCE" redefined [-Werror] > | 36 | #define _GNU_SOURCE > | | > | <command-line>: note: this is the location of the previous definition > | <command-line>: note: this is the location of the previous definition > | In file included from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/wait.h:46, > > | from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/bar.c:31: > > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/futex.h:36: > error: "_GNU_SOURCE" redefined [-Werror] > | 36 | #define _GNU_SOURCE > | | > | <command-line>: note: this is the location of the previous definition > | In file included from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/wait.h:46, > > | from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/doacross.h:33, > > | from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/ordered.c:31: > > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/futex.h:36: > error: "_GNU_SOURCE" redefined [-Werror] > | 36 | #define _GNU_SOURCE > | | > | <command-line>: note: this is the location of the previous definition > | In file included from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/wait.h:46, > > | from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/ptrlock.c:32: > > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/futex.h:36: > error: "_GNU_SOURCE" redefined [-Werror] > | 36 | #define _GNU_SOURCE > | | > | <command-line>: note: this is the location of the previous definition > | In file included from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/wait.h:46, > > | from > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/mutex.c:30: > > | > /home/me/code/yocto/build/tmp/work-shared/gcc-12.2.0-r0/gcc-12.2.0/libgomp/config/linux/futex.h:36: > error: "_GNU_SOURCE" redefined [-Werror] > | 36 | #define _GNU_SOURCE >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64215): https://lists.yoctoproject.org/g/yocto/message/64215 Mute This Topic: https://lists.yoctoproject.org/mt/109392558/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-