Summary: | sys-apps/sandbox-1.6-r2: emerge Linking failure, segmentation fault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcus Sen <msreg1> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcus Sen
2009-05-04 19:48:17 UTC
The 'ld' program comes from sys-devel/binutils, so you may want to try rebuilding that. Also, it seems odd that your CFLAGS and CXXFLAGS variables are unset. You can find some examples for those in /usr/share/portage/config/make.conf.example. Is this reproducible at the same spot every time? Also, there is a new version of GCC stable. Could you please upgrade to that and rebuild binutils with that version of gcc? (In reply to comment #1) > The 'ld' program comes from sys-devel/binutils, so you may want to try > rebuilding that. I rebuilt binutils but it didn't change anything when re-emerging sandbox. > Also, it seems odd that your CFLAGS and CXXFLAGS variables are > unset. You can find some examples for those in > /usr/share/portage/config/make.conf.example. I'll have a look at that and try again; didn't know I should set them. (In reply to comment #2) > Is this reproducible at the same spot every time? Yes. > Also, there is a new version > of GCC stable. Could you please upgrade to that and rebuild binutils with that > version of gcc? I was putting that off as it takes a long time to do on my old Mac B&W G3 but I'll try this. I hope I don't have to rebuild anything apart from binutils after the gcc upgrade... > Fixed by removing my CFLAGS="" in /etc/make.conf (so it got a default value of "-O2 -pipe") rather than the empty value I had. I can't remember why I had that!? (Maybe a misguided attempt to remove optimization settings for some past problem?) Anyway, thanks for the help. |