Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359855 - cross-xxx/gcc-4.2+ stage1 does not force --disable-libgomp when C library doesn't exist
Summary: cross-xxx/gcc-4.2+ stage1 does not force --disable-libgomp when C library doe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 22:04 UTC by Andrei Slavoiu
Modified: 2011-03-24 08:30 UTC (History)
0 users

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


Attachments
cross-armv4tl-softfloat-linux-gnueabi-info.log (cross-armv4tl-softfloat-linux-gnueabi-info.log,15.92 KB, text/plain)
2011-03-21 22:05 UTC, Andrei Slavoiu
Details
cross-armv4tl-softfloat-linux-gnueabi-gcc-stage1.log.gz (cross-armv4tl-softfloat-linux-gnueabi-gcc-stage1.log.gz,90.48 KB, application/x-gzip)
2011-03-21 22:08 UTC, Andrei Slavoiu
Details
toolchain.eclass.patch (toolchain.eclass.patch,439 bytes, patch)
2011-03-21 22:11 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2011-03-21 22:04:53 UTC
Under some circumstances --disable-libgomp is not passed to configure when the openmp use flag is not set.

Reproducible: Always

Steps to Reproduce:
After having used the testing versions for the cross-toolchain for a while I decided to switch to the stable ones. So I removed old cross-armv4tl-softfloat-linux-gnueabi/* and ran crossdev -S -t armv4tl-softfloat-linux-gnueabi
Actual Results:  
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * crossdev version:      20110310
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   arm
 * Target System:         armv4tl-softfloat-linux-gnueabi
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[stable]
 * gcc:                   gcc-[stable]
 * headers:               linux-headers-[stable]
 * libc:                  glibc-[stable]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~
 * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/binutils
 * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/gcc
 * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/linux-headers
 * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/glibc
 * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/gdb
 * Leaving existing path alone: /usr/local/portage/cross-armv4tl-softfloat-linux-gnueabi/insight
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...                                                                                                                                                                  [ ok ]
 * Log: /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-binutils.log
 * Emerging cross-binutils ...                                                                                                                                                                                                         [ ok ]
 * Log: /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-linux-headers-quick.log
 * Emerging cross-linux-headers-quick ...                                                                                                                                                                                              [ ok ]
 * Log: /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-glibc-headers.log
 * Emerging cross-glibc-headers ...                                                                                                                                                                                                    [ ok ]
 * Log: /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...

 * gcc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-info.log
 * /var/log/portage/cross-armv4tl-softfloat-linux-gnueabi-gcc-stage1.log

Expected Results:  
New toolchain using the stable versions is successfuly built.
Comment 1 Andrei Slavoiu 2011-03-21 22:05:54 UTC
Created attachment 266777 [details]
cross-armv4tl-softfloat-linux-gnueabi-info.log
Comment 2 Andrei Slavoiu 2011-03-21 22:08:26 UTC
Created attachment 266779 [details]
cross-armv4tl-softfloat-linux-gnueabi-gcc-stage1.log.gz
Comment 3 Andrei Slavoiu 2011-03-21 22:11:52 UTC
Created attachment 266781 [details, diff]
toolchain.eclass.patch

Attached patch makes sure --disable-libgomp is passed to configure whenever openmp is not enabled.