| Summary: | sandbox 1.12.18-r1 does not compile due to broken egrep | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Armin Mohring <mohringarmin> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | jakub |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
build log |
||
|
Description
Armin Mohring
2007-10-26 06:32:59 UTC
Created attachment 134398 [details]
emerge --info
Created attachment 134400 [details]
build log
<snip> using -static in CFLAGS is stupid </snip> Anything unclear about the message? -s suppresses the compiler output. Not static. So, you want to tell us that the following produces a match on your system?! echo "-mtune=k8 -march=k8 -O2 -msse2 -m80387 -pipe -s" | egrep -e -static By the way: -mtune: ABI and scheduling -march: architecture -O2: optimization level 2 -msse2: enables mmx, mmxext, 3dnow,..., msse2 -m80387: enables 80387 -pipe: pipie -s: supresses compiler output I can read `man gcc` just fine, thanks. :) On that note, -msse2 is implied by -march=k8. ;) Now, could you answer comment #5 instead? (In reply to comment #8) > yes, of course. Well, then you have pretty screwed grep. Which version do you have installed? Which version of what? (In reply to comment #10) > Which version of what? Of sys-apps/grep of course. version of grep: 2.5.1a-r1. It is not possible to update grep to ~amd64 (version 2.5.3) last comment (In reply to comment #6) > -s: supresses compiler output Wrong. From the man page -s Remove all symbol table and relocation information from the executable. In other words you probably don't need that as FEATURES handling the striping. (In reply to comment #14) > (In reply to comment #6) > > -s: supresses compiler output > > Wrong. > From the man page > -s Remove all symbol table and relocation information from the executable. > > In other words you probably don't need that as FEATURES handling the striping. > Which man page: man page of ld or gcc? (In reply to comment #15) > Which man page: man page of ld or gcc? man gcc of course, pretty easy to check :) Not that it'd be much different w/ ld (omit all symbol information from the output file). If you want less noise, stick -s to MAKEOPTS, not to C[XX]FLAGS/LDFLAGS. Not that it'd make your egrep any less broken... I am using the ld for linking. The command -s in CFLAGS is correct. -s in CFLAGS is still stupid as all stripping is done for you already rather than all this indirect bs, state clearly ... what does this show on your system: echo "-mtune=k8 -march=k8 -O2 -msse2 -m80387 -pipe -s" | egrep -e -static echo $? if you get "0" instead of "1", then try in LC_ALL=C. if you still get "0", then rebuild grep without retarded flags: CFLAGS="" LDFLAGS="" O.K. I have removed -s from CFLAGS. |