Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489798 - cross-arm-none-eabi/gcc - configure: error: Pthreads are required to build libgomp
Summary: cross-arm-none-eabi/gcc - configure: error: Pthreads are required to build li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Highest normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-29 17:43 UTC by George
Modified: 2024-11-30 04:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/cross-arm-none-eabi-info.log (cross-arm-none-eabi-info.log,16.13 KB, text/plain)
2013-10-29 17:43 UTC, George
Details
XZ compressed cross-arm-none-eabi-gcc-extra.log in a gzip compressed tar archive (cross-arm-none-eabi-gcc-extra.log.xz.tar.gz,44.97 KB, application/gzip-compressed-tar)
2013-10-29 17:47 UTC, George
Details
var/tmp/portage/cross-arm-none-eabi/gcc*/temp/gcc-config.logs.tar.xz (gcc-config.logs.tar.xz,59.16 KB, application/x-xz)
2013-10-29 17:48 UTC, George
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George 2013-10-29 17:43:14 UTC
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
Comment 1 George 2013-10-29 17:47:21 UTC
Created attachment 362248 [details]
XZ compressed cross-arm-none-eabi-gcc-extra.log in a gzip compressed tar archive
Comment 2 George 2013-10-29 17:48:11 UTC
Created attachment 362250 [details]
var/tmp/portage/cross-arm-none-eabi/gcc*/temp/gcc-config.logs.tar.xz
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-30 15:49:07 UTC
Comment on attachment 362248 [details]
XZ compressed cross-arm-none-eabi-gcc-extra.log in a gzip compressed tar archive

wtf
Comment 4 George 2013-10-30 18:12:18 UTC
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.
Comment 5 SpanKY gentoo-dev 2013-11-07 20:32:34 UTC
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
Comment 6 Larry the Git Cow gentoo-dev 2024-11-30 02:55:17 UTC
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(-)