Created attachment 362244 [details] /var/log/portage/cross-arm-none-eabi-info.log Trying to build cross compiler for arm-none-eabi, with extra gcc stuff (for g++ specifically). Here's my output: $ sudo crossdev --ex-gcc arm-none-eabi Password: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- * crossdev version: 20130628 * Host Portage ARCH: amd64 * Target Portage ARCH: arm * Target System: arm-none-eabi * Stage: 3 (C compiler & libc) * ABIs: default * binutils: binutils-[latest] * gcc: gcc-[latest] * libc: newlib-[latest] * Extra: gcc pass: DO IT * CROSSDEV_OVERLAY: /usr/local/george * PORT_LOGDIR: /var/log/portage * PORTAGE_CONFIGROOT: * Portage flags: _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - * leaving sys-devel/binutils in /usr/local/george * leaving sys-devel/gcc in /usr/local/george * leaving sys-libs/newlib in /usr/local/george * leaving sys-devel/gdb in /usr/local/george _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - * Log: /var/log/portage/cross-arm-none-eabi-binutils.log * Emerging cross-binutils ... [ ok ] * Log: /var/log/portage/cross-arm-none-eabi-gcc-stage1.log * Emerging cross-gcc-stage1 ... [ ok ] * Log: /var/log/portage/cross-arm-none-eabi-newlib.log * Emerging cross-newlib ... [ ok ] * Log: /var/log/portage/cross-arm-none-eabi-gcc-extra.log * Emerging cross-gcc-extra ... * gcc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-arm-none-eabi-info.log * /var/log/portage/cross-arm-none-eabi-gcc-extra.log.xz * /var/tmp/portage/cross-arm-none-eabi/gcc*/temp/gcc-config.logs.tar.xz
Created attachment 362248 [details] XZ compressed cross-arm-none-eabi-gcc-extra.log in a gzip compressed tar archive
Created attachment 362250 [details] var/tmp/portage/cross-arm-none-eabi/gcc*/temp/gcc-config.logs.tar.xz
Comment on attachment 362248 [details] XZ compressed cross-arm-none-eabi-gcc-extra.log in a gzip compressed tar archive wtf
Re: wtf Even compressed, that file exceed the size limits for attachments, so I compressed it again. Seemed to do the trick for me. Let me know if you have any problems with it and I can do something else.
openmp is now disabled for all targets using newlib. afaik, there is no support there since newlib doesn't provide threading. http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=da76d615a5c18b0af092aea05965a156acbcdc6e
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=c272f335f8b0df15f724e9ee3e2289a9deddbd11 commit c272f335f8b0df15f724e9ee3e2289a9deddbd11 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-30 02:28:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-30 02:52:12 +0000 crossdev: don't turn off openmp/fortran for nvptx openmp and fortran are rather useful for offloading. Not clear to me whether or not we can turn this on for newlib in general wrt bug #489798 and bug #589672. Bug: https://bugs.gentoo.org/489798 Bug: https://bugs.gentoo.org/589672 Bug: https://bugs.gentoo.org/945296 Signed-off-by: Sam James <sam@gentoo.org> crossdev | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)