Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432602 - armv7a-unknown-linux-gnueabi/glibc - armv7a-unknown-linux-gnueabi/ld: cannot find -lgcc_eh
Summary: armv7a-unknown-linux-gnueabi/glibc - armv7a-unknown-linux-gnueabi/ld: cannot ...
Status: RESOLVED DUPLICATE of bug 431304
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 15:16 UTC by John L. Poole
Modified: 2012-08-24 19:50 UTC (History)
0 users

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


Attachments
cross-armv7a-unknown-linux-gnueabi-info.log (cross-armv7a-unknown-linux-gnueabi-info.log,14.54 KB, text/plain)
2012-08-24 15:19 UTC, John L. Poole
Details
cross-armv7a-unknown-linux-gnueabi-glibc.log.xz (cross-armv7a-unknown-linux-gnueabi-glibc.log.xz,114.44 KB, application/x-xz)
2012-08-24 15:20 UTC, John L. Poole
Details
/var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/glibc*/temp/glibc-config.logs.tar.xz (glibc-config.logs.tar.xz,9.16 KB, application/x-xz)
2012-08-24 15:21 UTC, John L. Poole
Details
emerge --update --newuse --deep world -p output (emerge_pretend.txt,4.19 KB, text/plain)
2012-08-24 16:44 UTC, John L. Poole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2012-08-24 15:16:54 UTC
Per instructions at http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml

  Build a crosscompiler

  Code Listing 3.2: Building a crosscompiler
  # crossdev -S armv7a-unknown-linux-gnueabi


fails trying to build glibc.


 

Reproducible: Always

Steps to Reproduce:
1. crossdev -S armv7a-unknown-linux-gnueabi

Actual Results:  
hermes portage # crossdev -S armv7a-unknown-linux-gnueabi
--------------------------------------------------------------------------------
 * crossdev version:      20120531
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   arm
 * Target System:         armv7a-unknown-linux-gnueabi
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

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

 * CROSSDEV_OVERLAY:      /var/lib/layman/stuge
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:
 * Portage flags:
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
 * Log: /var/log/portage/cross-armv7a-unknown-linux-gnueabi-binutils.log
 * Emerging cross-binutils ...                                            [ ok ]
 * Log: /var/log/portage/cross-armv7a-unknown-linux-gnueabi-linux-headers-quick.log
 * Emerging cross-linux-headers-quick ...                                 [ ok ]
 * Log: /var/log/portage/cross-armv7a-unknown-linux-gnueabi-glibc-headers.log
 * Emerging cross-glibc-headers ...                                       [ ok ]
 * Log: /var/log/portage/cross-armv7a-unknown-linux-gnueabi-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                          [ ok ]
 * Log: /var/log/portage/cross-armv7a-unknown-linux-gnueabi-linux-headers.log
 * Emerging cross-linux-headers ...                                       [ ok ]
 * Log: /var/log/portage/cross-armv7a-unknown-linux-gnueabi-glibc.log
 * Emerging cross-glibc ...

 * glibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-armv7a-unknown-linux-gnueabi-info.log
 * /var/log/portage/cross-armv7a-unknown-linux-gnueabi-glibc.log.xz
 * /var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/glibc*/temp/glibc-config.logs.tar.xz
hermes portage #

Expected Results:  
successful build of cross-dev environment

It's not clear where this bug should be filed.  It would be helpful if the output indicated whether bugs should be lodged against cross-dev or the component that fails, in this case, glibc
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-24 15:19:29 UTC
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-armv7a-unknown-linux-gnueabi-info.log
 * /var/log/portage/cross-armv7a-unknown-linux-gnueabi-glibc.log.xz
 * /var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/glibc*/temp/glibc-config.logs.tar.xz

Please attach these (separately).
Comment 2 John L. Poole 2012-08-24 15:19:52 UTC
Created attachment 322110 [details]
cross-armv7a-unknown-linux-gnueabi-info.log
Comment 3 John L. Poole 2012-08-24 15:20:39 UTC
Created attachment 322112 [details]
cross-armv7a-unknown-linux-gnueabi-glibc.log.xz
Comment 4 John L. Poole 2012-08-24 15:21:58 UTC
Created attachment 322114 [details]
/var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/glibc*/temp/glibc-config.logs.tar.xz
Comment 5 John L. Poole 2012-08-24 15:24:12 UTC
Is there a way to initially attach files when creating a bug?  Here, I opened the bug and immediately proceeded to attach files, yet a very watchful bugmeister intervened and found the attachments not present.

I have found myself in this situation before and do recall seeing in the interface a way to attach files at the outset.  Is there something in the new bug interface that allows attachments?
Comment 6 John L. Poole 2012-08-24 15:25:35 UTC
(In reply to comment #5)
> I have found myself in this situation before and do recall seeing in the
should be:

 I have found myself in this situation before and do *not* recall seeing in the
Comment 7 SpanKY gentoo-dev 2012-08-24 15:46:22 UTC
(In reply to comment #5)

you can attach just one file with the initial bug report.  additional files have to be attached one-by-one.

obvious question: have you synced your tree recently ?
Comment 8 John L. Poole 2012-08-24 16:43:34 UTC
(In reply to comment #7)
> (In reply to comment #5)
 
> obvious question: have you synced your tree recently ?

I updated several weeks ago.  I just emerge --sync against my server which, in turn, I emerge --sync (OSU), and I'm attaching the emerge --pretend listing.  Some of the packages, e.g. postgis 2.0 do not successfully emerge for various reasons.  I'll proceed with the update, but wanted to give you a bird's eye view of the state of my machine using the emerge_pretend.txt
Comment 9 John L. Poole 2012-08-24 16:44:16 UTC
Created attachment 322118 [details]
emerge --update --newuse --deep world -p  output
Comment 10 SpanKY gentoo-dev 2012-08-24 17:30:58 UTC
i'm not really interested in the general system packages being up to date.  i want to make sure that you aren't simply hitting the same bug already reported and fixed.

*** This bug has been marked as a duplicate of bug 431304 ***
Comment 11 John L. Poole 2012-08-24 18:06:46 UTC
I updated my tree (everything execept postgis-2.0 and sci-geosciences) and retried.

Success: I made it past the glibc hurdle and the crossdev script completed without incident.

Thank you.
Comment 12 SpanKY gentoo-dev 2012-08-24 18:49:16 UTC
(In reply to comment #11)

in the future, please make sure your tree is up-to-date before filing bugs
Comment 13 John L. Poole 2012-08-24 19:50:04 UTC
I will.

Sorry about that, this is a machine I don't use daily and last time I started it up, I had brought it current... but that was several weeks ago.