Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102771 - building grep with USE="pcre static" produces a screwed up binary
Summary: building grep with USE="pcre static" produces a screwed up binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 119334 122754 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-16 17:11 UTC by Niklas Laxström
Modified: 2006-06-17 22:07 UTC (History)
7 users (show)

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


Attachments
Log of emerge (grep.log,31.27 KB, text/plain)
2005-08-17 17:27 UTC, Niklas Laxström
Details
emerge info on PPC w/ new G4 CPU (emerge_info_ppc_cpu7450.txt,3.23 KB, text/plain)
2005-12-14 20:58 UTC, Timothy Stotts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Laxström 2005-08-16 17:11:29 UTC
After emerging sys-apps/grep-2.5.1-r8 grep no longer works. When trying to
execute i get no such file error. Reading the contents of the executable is
possible.

Reproducible: Always
Steps to Reproduce:
1. emerge sys-apps/grep-2.5.1-r8
2. run grep
Actual Results:  
bash: /bin/grep: No such file or directory


Expected Results:  
normal operation

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -funroll-loops -pipe -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -funroll-loops -pipe -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache colorgcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LC_ALL="fi_FI"
LINGUAS="fi en sv"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl acpi alsa asm avi bash-completion berkdb bitmap-fonts
bluetooth cdparanoia cdr crypt cups curl dga dhcp directfb dvd eds emboss encode
ethereal fam fbcon flac foomaticdb fortran gd gdbm ggi gif gpm gps gstreamer gtk
gtk2 guile ieee1394 imagemagick imlib ipv6 java javascript jikes jpeg junit kde
kig-scripting libcaca libg++ libwww live lm_sensors mad mikmod mmx mng mp3 mpeg
mysql ncurses nls ogg oggvorbis opengl pam pcmcia pdflib perl png pnp postgres
python quicktime readline samba sdl slang spell sqlite sse sse2 ssl svga tcltk
tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi xine
xinerama xml xml2 xmms xv zlib linguas_fi linguas_en linguas_sv userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY




Nevermind the location
jadesukka ~ # ./strace /services/www/grep
execve("/services/www/grep", ["/services/www/grep"], [/* 56 vars */]) = -1
ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f2c000
_llseek(3, 0, 0xbfe26a40, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or
directory
) = 40
close(3)                                = 0
munmap(0xb7f2c000, 4096)                = 0
brk(0x811f000)                          = 0x811f000
exit_group(1)                           = ?


Used use flags:
[ebuild   R   ] sys-apps/grep-2.5.1-r8  -build +nls +pcre +static 0 kB


file /services/www/grep
/services/www/grep: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
for GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped

file /bin/grepworking
/bin/grepworking: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped


The non-working executable is at url
http://jadesukka.homelinux.org:8180/grep
Comment 1 SpanKY gentoo-dev 2005-08-17 06:34:48 UTC
i'm pretty certain your system is broken somehow

if you look at the interpreter for the ELF, it's using /usr/lib/libc.so.1
instead of /lib/ld-linux.so.2
Comment 2 Niklas Laxström 2005-08-17 12:22:42 UTC
Filesystem is fine, everything else works fine. Even if my system is broken (in
a very special way), I have have not knowingly done anything that would have
caused this. I can provide more info if requested to determine the cause of this
malfunction, if you allow...
Comment 3 SpanKY gentoo-dev 2005-08-17 17:10:19 UTC
does a simple test work ?  try something like:

echo 'int main(){}' > test.c
gcc test.c -o test
./test

if that works, run `emerge grep >& log` and attach the log here to the bug
Comment 4 Niklas Laxström 2005-08-17 17:27:29 UTC
Created attachment 66205 [details]
Log of emerge

As i've said, everything else works, the test too. Here's the log.
Comment 5 SpanKY gentoo-dev 2005-08-17 18:00:28 UTC
what about this:

echo 'int main(){}' > test.c
gcc -static test.c -o test
./test
Comment 6 SpanKY gentoo-dev 2005-08-17 18:03:49 UTC
err, ignore that ...

you are emerging with USE=static ... that means the grep you posted is probably
not the grep that you emerged

does /bin/grep work ?  if so, and `grep` does not work, what does `type -p grep`
show ?
Comment 7 Niklas Laxström 2005-08-18 04:27:15 UTC
As i've said in the original report:

root@jadesukka ~ # /bin/grep
bash: /bin/grep: No such file or directory

doesn't matter how i try to execute it.

# type -p grep
/bin/grep
Comment 8 P Nienaber 2005-12-12 22:39:53 UTC
Exactly the same symptoms here on an amd64 system.  Here is my emerge info and
readelf -a /bin/grep:

[0][phox@box ~ ]$ emerge info
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-ck5 x86_64)
=================================================================
System uname: 2.6.14-ck5 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/db/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib aim alsa apache2 audiofile avi berkdb bitmap-fonts bzip2
cddb cdr crypt cups curl dvd dvdr eds emboss encode ethereal exif expat fam
fbcon ffmpeg flac foomaticdb gdbm gif gimpprint glut gmp gpm gtk gtk2 idn
imagemagick imap imlib java javascript joystick jpeg junit kerberos krb4 lcms
lzw lzw-tiff mad mikmod mng mp3 mpeg ncurses nptl nptlonly nvidia objc ogg
oggvorbis opengl pam pcre pdflib perl png postgres ppds python quicktime
readline real samba sdl slang spell ssl tcltk tcpd threads tiff truetype
truetype-fonts type1-fonts udev usb userlocales v4l2 vorbis xine xml xml2 xmms
xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


[0][phox@box ~ ]$ readelf -a /bin/grep
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x402270
  Start of program headers:          64 (bytes into file)
  Start of section headers:          156120 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         8
  Size of section headers:           64 (bytes)
  Number of section headers:         27
  Section header string table index: 26

Section Headers:
  [Nr] Name              Type             Address           Offset
       Size              EntSize          Flags  Link  Info  Align
  [ 0]                   NULL             0000000000000000  00000000
       0000000000000000  0000000000000000           0     0     0
  [ 1] .interp           PROGBITS         0000000000400200  00000200
       000000000000000f  0000000000000000   A       0     0     1
  [ 2] .note.ABI-tag     NOTE             0000000000400210  00000210
       0000000000000020  0000000000000000   A       0     0     4
  [ 3] .hash             HASH             0000000000400230  00000230
       0000000000000328  0000000000000004   A       4     0     8
  [ 4] .dynsym           DYNSYM           0000000000400558  00000558
       00000000000009a8  0000000000000018   A       5     1     8
  [ 5] .dynstr           STRTAB           0000000000400f00  00000f00
       000000000000040a  0000000000000000   A       0     0     1
  [ 6] .gnu.version      VERSYM           000000000040130a  0000130a
       00000000000000ce  0000000000000002   A       4     0     2
  [ 7] .gnu.version_r    VERNEED          00000000004013d8  000013d8
       0000000000000040  0000000000000000   A       5     1     8
  [ 8] .rela.dyn         RELA             0000000000401418  00001418
       0000000000000180  0000000000000018   A       4     0     8
  [ 9] .rela.plt         RELA             0000000000401598  00001598
       0000000000000798  0000000000000018   A       4    11     8
  [10] .init             PROGBITS         0000000000401d30  00001d30
       0000000000000018  0000000000000000  AX       0     0     4
  [11] .plt              PROGBITS         0000000000401d48  00001d48
       0000000000000520  0000000000000010  AX       0     0     4
  [12] .text             PROGBITS         0000000000402270  00002270
       000000000001c788  0000000000000000  AX       0     0     16
  [13] .fini             PROGBITS         000000000041e9f8  0001e9f8
       000000000000000e  0000000000000000  AX       0     0     4
  [14] .rodata           PROGBITS         000000000041ea20  0001ea20
       0000000000005030  0000000000000000   A       0     0     32
  [15] .eh_frame         PROGBITS         0000000000423a50  00023a50
       00000000000013cc  0000000000000000   A       0     0     8
  [16] .ctors            PROGBITS         0000000000525000  00025000
       0000000000000010  0000000000000000  WA       0     0     8
  [17] .dtors            PROGBITS         0000000000525010  00025010
       0000000000000010  0000000000000000  WA       0     0     8
  [18] .jcr              PROGBITS         0000000000525020  00025020
       0000000000000008  0000000000000000  WA       0     0     8
  [19] .data.rel.ro      PROGBITS         0000000000525040  00025040
       00000000000002d0  0000000000000000  WA       0     0     32
  [20] .dynamic          DYNAMIC          0000000000525310  00025310
       0000000000000190  0000000000000010  WA       5     0     8
  [21] .got              PROGBITS         00000000005254a0  000254a0
       0000000000000060  0000000000000008  WA       0     0     8
  [22] .got.plt          PROGBITS         0000000000525500  00025500
       00000000000002a0  0000000000000008  WA       0     0     8
  [23] .data             PROGBITS         00000000005257a0  000257a0
       0000000000000200  0000000000000000  WA       0     0     32
  [24] .bss              NOBITS           00000000005259a0  000259a0
       0000000000000b90  0000000000000000  WA       0     0     32
  [25] .comment          PROGBITS         0000000000000000  000259a0
       0000000000000760  0000000000000000           0     0     1
  [26] .shstrtab         STRTAB           0000000000000000  00026100
       00000000000000d6  0000000000000000           0     0     1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

There are no section groups in this file.

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  PHDR           0x0000000000000040 0x0000000000400040 0x0000000000400040
                 0x00000000000001c0 0x00000000000001c0  R E    8
  INTERP         0x0000000000000200 0x0000000000400200 0x0000000000400200
                 0x000000000000000f 0x000000000000000f  R      1
      [Requesting program interpreter: /lib/ld64.so.1]
  LOAD           0x0000000000000000 0x0000000000400000 0x0000000000400000
                 0x0000000000024e1c 0x0000000000024e1c  R E    100000
  LOAD           0x0000000000025000 0x0000000000525000 0x0000000000525000
                 0x00000000000009a0 0x0000000000001530  RW     100000
  DYNAMIC        0x0000000000025310 0x0000000000525310 0x0000000000525310
                 0x0000000000000190 0x0000000000000190  RW     8
  NOTE           0x0000000000000210 0x0000000000400210 0x0000000000400210
                 0x0000000000000020 0x0000000000000020  R      4
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     8
  PAX_FLAGS      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000         8

 Section to Segment mapping:
  Segment Sections...
   00
   01     .interp
   02     .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version
.gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame
   03     .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss
   04     .dynamic
   05     .note.ABI-tag
   06
   07

Dynamic section at offset 0x25310 contains 20 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000c (INIT)               0x401d30
 0x000000000000000d (FINI)               0x41e9f8
 0x0000000000000004 (HASH)               0x400230
 0x0000000000000005 (STRTAB)             0x400f00
 0x0000000000000006 (SYMTAB)             0x400558
 0x000000000000000a (STRSZ)              1034 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x525500
 0x0000000000000002 (PLTRELSZ)           1944 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x401598
 0x0000000000000007 (RELA)               0x401418
 0x0000000000000008 (RELASZ)             384 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x4013d8
 0x000000006fffffff (VERNEEDNUM)         1
 0x000000006ffffff0 (VERSYM)             0x40130a
 0x0000000000000000 (NULL)               0x0

Relocation section '.rela.dyn' at offset 0x1418 contains 16 entries:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend0000005254a0  000b00000006 R_X86_64_GLOB_DAT 00000000004234d8
_pcre_utf8_table1_size + 0
0000005254a8  001400000006 R_X86_64_GLOB_DAT 00000000004235e0
_pcre_default_tables + 0
0000005254b8  002800000006 R_X86_64_GLOB_DAT 00000000004234e0 _pcre_utf8_table1 + 0
0000005254c0  003000000006 R_X86_64_GLOB_DAT 0000000000525998 pcre_malloc + 0
0000005254c8  003300000006 R_X86_64_GLOB_DAT 00000000004234a0 _pcre_utf8_table3 + 0
0000005254d0  003b00000006 R_X86_64_GLOB_DAT 0000000000423460 _pcre_utf8_table4 + 0
0000005254d8  003c00000006 R_X86_64_GLOB_DAT 00000000004234c0 _pcre_utf8_table2 + 0
0000005254e0  005100000006 R_X86_64_GLOB_DAT 0000000000423500 _pcre_OP_lengths + 0
0000005254e8  005600000006 R_X86_64_GLOB_DAT 0000000000525990 pcre_free + 0
0000005254f0  005800000006 R_X86_64_GLOB_DAT 00000000005264d0 pcre_callout + 0
0000005254f8  006600000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ +
00000005259a0  001f00000005 R_X86_64_COPY     00000000005259a0 stderr + 0
0000005259a8  002300000005 R_X86_64_COPY     00000000005259a8 stdin + 0
0000005259b0  002c00000005 R_X86_64_COPY     00000000005259b0 optarg + 0
0000005259b8  004000000005 R_X86_64_COPY     00000000005259b8 optind + 0
0000005259c0  006000000005 R_X86_64_COPY     00000000005259c0 stdout + 0

Relocation section '.rela.plt' at offset 0x1598 contains 81 entries:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend000000525518  000100000007 R_X86_64_JUMP_SLO 0000000000000000 __cxa_atexit + 0
000000525520  000200000007 R_X86_64_JUMP_SLO 0000000000000000 strcasecmp + 0
000000525528  000300000007 R_X86_64_JUMP_SLO 0000000000000000 regexec + 0
000000525530  000400000007 R_X86_64_JUMP_SLO 0000000000000000 __libc_start_main + 0
000000525538  000500000007 R_X86_64_JUMP_SLO 0000000000000000 towlower + 0
000000525540  000600000007 R_X86_64_JUMP_SLO 0000000000000000 read + 0
000000525548  000700000007 R_X86_64_JUMP_SLO 0000000000000000 iswupper + 0
000000525550  000800000007 R_X86_64_JUMP_SLO 0000000000000000 closedir + 0
000000525558  000900000007 R_X86_64_JUMP_SLO 0000000000000000 __xstat + 0
000000525560  000a00000007 R_X86_64_JUMP_SLO 0000000000000000
__ctype_tolower_loc + 0
000000525568  000c00000007 R_X86_64_JUMP_SLO 0000000000000000 _IO_putc + 0
000000525570  000e00000007 R_X86_64_JUMP_SLO 0000000000000000 getenv + 0
000000525578  000f00000007 R_X86_64_JUMP_SLO 0000000000401e18 malloc + 0
000000525580  001000000007 R_X86_64_JUMP_SLO 0000000000000000 strcoll + 0
000000525588  001100000007 R_X86_64_JUMP_SLO 0000000000000000 ferror + 0
000000525590  001200000007 R_X86_64_JUMP_SLO 0000000000000000 strncmp + 0
000000525598  001300000007 R_X86_64_JUMP_SLO 0000000000000000 getpagesize + 0
0000005255a0  001500000007 R_X86_64_JUMP_SLO 0000000000000000 wctype + 0
0000005255a8  001600000007 R_X86_64_JUMP_SLO 0000000000000000 vfprintf + 0
0000005255b0  001700000007 R_X86_64_JUMP_SLO 0000000000000000 re_compile_pattern + 0
0000005255b8  001800000007 R_X86_64_JUMP_SLO 0000000000000000 strncpy + 0
0000005255c0  001900000007 R_X86_64_JUMP_SLO 0000000000000000 memchr + 0
0000005255c8  001b00000007 R_X86_64_JUMP_SLO 0000000000000000 memmove + 0
0000005255d0  001c00000007 R_X86_64_JUMP_SLO 0000000000000000 stpcpy + 0
0000005255d8  001d00000007 R_X86_64_JUMP_SLO 0000000000000000 fwrite + 0
0000005255e0  001e00000007 R_X86_64_JUMP_SLO 0000000000000000 fclose + 0
0000005255e8  002000000007 R_X86_64_JUMP_SLO 0000000000000000 _obstack_newchunk + 0
0000005255f0  002100000007 R_X86_64_JUMP_SLO 0000000000000000 re_set_syntax + 0
0000005255f8  002200000007 R_X86_64_JUMP_SLO 0000000000000000 regfree + 0
000000525600  002500000007 R_X86_64_JUMP_SLO 0000000000000000 __strtoul_internal + 0
000000525608  002600000007 R_X86_64_JUMP_SLO 0000000000000000 feof + 0
000000525610  002700000007 R_X86_64_JUMP_SLO 0000000000000000 strlen + 0
000000525618  002900000007 R_X86_64_JUMP_SLO 0000000000000000 fread + 0
000000525620  002a00000007 R_X86_64_JUMP_SLO 0000000000000000 strcpy + 0
000000525628  002b00000007 R_X86_64_JUMP_SLO 0000000000000000 fprintf + 0
000000525630  002d00000007 R_X86_64_JUMP_SLO 0000000000000000 memcpy + 0
000000525638  002e00000007 R_X86_64_JUMP_SLO 0000000000000000 strcmp + 0
000000525640  002f00000007 R_X86_64_JUMP_SLO 0000000000000000 abort + 0
000000525648  003100000007 R_X86_64_JUMP_SLO 0000000000000000 realloc + 0
000000525650  003200000007 R_X86_64_JUMP_SLO 0000000000000000 _IO_getc + 0
000000525658  003400000007 R_X86_64_JUMP_SLO 0000000000000000 fflush + 0
000000525660  003500000007 R_X86_64_JUMP_SLO 0000000000000000 setlocale + 0
000000525668  003600000007 R_X86_64_JUMP_SLO 0000000000000000 opendir + 0
000000525670  003700000007 R_X86_64_JUMP_SLO 0000000000000000 mbrtowc + 0
000000525678  003800000007 R_X86_64_JUMP_SLO 0000000000000000 printf + 0
000000525680  003900000007 R_X86_64_JUMP_SLO 0000000000000000 open + 0
000000525688  003a00000007 R_X86_64_JUMP_SLO 0000000000000000 lseek + 0
000000525690  003d00000007 R_X86_64_JUMP_SLO 0000000000000000 towupper + 0
000000525698  003e00000007 R_X86_64_JUMP_SLO 0000000000000000 iswctype + 0
0000005256a0  003f00000007 R_X86_64_JUMP_SLO 0000000000000000 __assert_fail + 0
0000005256a8  004100000007 R_X86_64_JUMP_SLO 0000000000000000 strchr + 0
0000005256b0  004200000007 R_X86_64_JUMP_SLO 0000000000000000 memset + 0
0000005256b8  004300000007 R_X86_64_JUMP_SLO 0000000000000000 dcgettext + 0
0000005256c0  004400000007 R_X86_64_JUMP_SLO 0000000000000000
__ctype_toupper_loc + 0
0000005256c8  004500000007 R_X86_64_JUMP_SLO 0000000000000000 iswlower + 0
0000005256d0  004600000007 R_X86_64_JUMP_SLO 0000000000000000 strrchr + 0
0000005256d8  004700000007 R_X86_64_JUMP_SLO 0000000000000000 fputc + 0
0000005256e0  004800000007 R_X86_64_JUMP_SLO 0000000000000000 obstack_free + 0
0000005256e8  004a00000007 R_X86_64_JUMP_SLO 0000000000000000 isatty + 0
0000005256f0  004b00000007 R_X86_64_JUMP_SLO 0000000000000000 exit + 0
0000005256f8  004c00000007 R_X86_64_JUMP_SLO 0000000000000000 iswalnum + 0
000000525700  004d00000007 R_X86_64_JUMP_SLO 0000000000000000 wcrtomb + 0
000000525708  004e00000007 R_X86_64_JUMP_SLO 0000000000000000 calloc + 0
000000525710  004f00000007 R_X86_64_JUMP_SLO 0000000000000000 readdir + 0
000000525718  005000000007 R_X86_64_JUMP_SLO 0000000000000000 wcscoll + 0
000000525720  005200000007 R_X86_64_JUMP_SLO 0000000000000000 close + 0
000000525728  005300000007 R_X86_64_JUMP_SLO 0000000000000000 __errno_location + 0
000000525730  005400000007 R_X86_64_JUMP_SLO 0000000000000000
__ctype_get_mb_cur_max + 0
000000525738  005500000007 R_X86_64_JUMP_SLO 0000000000000000 fnmatch + 0
000000525740  005700000007 R_X86_64_JUMP_SLO 0000000000000000 puts + 0
000000525748  005900000007 R_X86_64_JUMP_SLO 00000000004021b8 free + 0
000000525750  005b00000007 R_X86_64_JUMP_SLO 0000000000000000 fopen + 0
000000525758  005c00000007 R_X86_64_JUMP_SLO 0000000000000000 _obstack_begin +
0000000525760  005d00000007 R_X86_64_JUMP_SLO 0000000000000000 re_search + 0
000000525768  005e00000007 R_X86_64_JUMP_SLO 0000000000000000 strerror_r + 0
000000525770  005f00000007 R_X86_64_JUMP_SLO 0000000000000000 mbsinit + 0
000000525778  006100000007 R_X86_64_JUMP_SLO 0000000000000000 __ctype_b_loc + 0
000000525780  006200000007 R_X86_64_JUMP_SLO 0000000000000000 getopt_long + 0
000000525788  006300000007 R_X86_64_JUMP_SLO 0000000000000000 re_match + 0
000000525790  006400000007 R_X86_64_JUMP_SLO 0000000000000000 mmap + 0
000000525798  006500000007 R_X86_64_JUMP_SLO 0000000000000000 regcomp + 0

There are no unwind sections in this file.

Symbol table '.dynsym' contains 103 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 0000000000000000    85 FUNC    GLOBAL DEFAULT  UND
__cxa_atexit@GLIBC_2.2.5 (2)
     2: 0000000000000000    80 FUNC    GLOBAL DEFAULT  UND
strcasecmp@GLIBC_2.2.5 (2)
     3: 0000000000000000   203 FUNC    GLOBAL DEFAULT  UND regexec@GLIBC_2.3.4 (3)
     4: 0000000000000000   321 FUNC    GLOBAL DEFAULT  UND
__libc_start_main@GLIBC_2.2.5 (2)
     5: 0000000000000000    99 FUNC    GLOBAL DEFAULT  UND towlower@GLIBC_2.2.5 (2)
     6: 0000000000000000   133 FUNC    GLOBAL DEFAULT  UND read@GLIBC_2.2.5 (2)
     7: 0000000000000000   104 FUNC    GLOBAL DEFAULT  UND iswupper@GLIBC_2.2.5 (2)
     8: 0000000000000000    42 FUNC    GLOBAL DEFAULT  UND closedir@GLIBC_2.2.5 (2)
     9: 0000000000000000    73 FUNC    GLOBAL DEFAULT  UND __xstat@GLIBC_2.2.5 (2)
    10: 0000000000000000    55 FUNC    GLOBAL DEFAULT  UND
__ctype_tolower_loc@GLIBC_2.3 (4)
    11: 00000000004234d8     4 OBJECT  GLOBAL DEFAULT   14 _pcre_utf8_table1_size
    12: 0000000000000000   172 FUNC    GLOBAL DEFAULT  UND _IO_putc@GLIBC_2.2.5 (2)
    13: 0000000000410d60   509 FUNC    GLOBAL DEFAULT   12 error_at_line
    14: 0000000000000000   245 FUNC    GLOBAL DEFAULT  UND getenv@GLIBC_2.2.5 (2)
    15: 0000000000401e18   466 FUNC    GLOBAL DEFAULT  UND malloc@GLIBC_2.2.5 (2)
    16: 0000000000000000    16 FUNC    GLOBAL DEFAULT  UND strcoll@GLIBC_2.2.5 (2)
    17: 0000000000000000   147 FUNC    GLOBAL DEFAULT  UND ferror@GLIBC_2.2.5 (2)
    18: 0000000000000000   242 FUNC    GLOBAL DEFAULT  UND strncmp@GLIBC_2.2.5 (2)
    19: 0000000000000000    23 FUNC    GLOBAL DEFAULT  UND
getpagesize@GLIBC_2.2.5 (2)
    20: 00000000004235e0  1088 OBJECT  GLOBAL DEFAULT   14 _pcre_default_tables
    21: 0000000000000000   137 FUNC    GLOBAL DEFAULT  UND wctype@GLIBC_2.2.5 (2)
    22: 0000000000000000 16507 FUNC    GLOBAL DEFAULT  UND vfprintf@GLIBC_2.2.5 (2)
    23: 0000000000000000   110 FUNC    GLOBAL DEFAULT  UND
re_compile_pattern@GLIBC_2.2.5 (2)
    24: 0000000000000000   149 FUNC    GLOBAL DEFAULT  UND strncpy@GLIBC_2.2.5 (2)
    25: 0000000000000000   273 FUNC    GLOBAL DEFAULT  UND memchr@GLIBC_2.2.5 (2)
    26: 0000000000526508     4 OBJECT  GLOBAL DEFAULT   24 error_message_count
    27: 0000000000000000   333 FUNC    GLOBAL DEFAULT  UND memmove@GLIBC_2.2.5 (2)
    28: 0000000000000000   220 FUNC    GLOBAL DEFAULT  UND stpcpy@GLIBC_2.2.5 (2)
    29: 0000000000000000   370 FUNC    GLOBAL DEFAULT  UND fwrite@GLIBC_2.2.5 (2)
    30: 0000000000000000   561 FUNC    GLOBAL DEFAULT  UND fclose@GLIBC_2.2.5 (2)
    31: 00000000005259a0     8 OBJECT  GLOBAL DEFAULT   24 stderr@GLIBC_2.2.5 (2)
    32: 0000000000000000   338 FUNC    GLOBAL DEFAULT  UND
_obstack_newchunk@GLIBC_2.2.5 (2)
    33: 0000000000000000    14 FUNC    GLOBAL DEFAULT  UND
re_set_syntax@GLIBC_2.2.5 (2)
    34: 0000000000000000    68 FUNC    GLOBAL DEFAULT  UND regfree@GLIBC_2.2.5 (2)
    35: 00000000005259a8     8 OBJECT  GLOBAL DEFAULT   24 stdin@GLIBC_2.2.5 (2)
   36: 0000000000526510     8 OBJECT  GLOBAL DEFAULT   24 error_print_progname
    37: 0000000000000000    16 FUNC    GLOBAL DEFAULT  UND
__strtoul_internal@GLIBC_2.2.5 (2)
    38: 0000000000000000   147 FUNC    GLOBAL DEFAULT  UND feof@GLIBC_2.2.5 (2)
    39: 0000000000000000   233 FUNC    GLOBAL DEFAULT  UND strlen@GLIBC_2.2.5 (2)
    40: 00000000004234e0    24 OBJECT  GLOBAL DEFAULT   14 _pcre_utf8_table1
    41: 0000000000000000   322 FUNC    GLOBAL DEFAULT  UND fread@GLIBC_2.2.5 (2)
   42: 0000000000000000   220 FUNC    GLOBAL DEFAULT  UND strcpy@GLIBC_2.2.5 (2)
    43: 0000000000000000   144 FUNC    GLOBAL DEFAULT  UND fprintf@GLIBC_2.2.5 (2)
    44: 00000000005259b0     8 OBJECT  GLOBAL DEFAULT   24 optarg@GLIBC_2.2.5 (2)
    45: 0000000000000000   102 FUNC    GLOBAL DEFAULT  UND memcpy@GLIBC_2.2.5 (2)
    46: 0000000000000000    34 FUNC    GLOBAL DEFAULT  UND strcmp@GLIBC_2.2.5 (2)
    47: 0000000000000000   609 FUNC    GLOBAL DEFAULT  UND abort@GLIBC_2.2.5 (2)
   48: 0000000000525998     8 OBJECT  GLOBAL DEFAULT   23 pcre_malloc
    49: 0000000000000000   543 FUNC    GLOBAL DEFAULT  UND realloc@GLIBC_2.2.5 (2)
    50: 0000000000000000   164 FUNC    GLOBAL DEFAULT  UND _IO_getc@GLIBC_2.2.5 (2)
    51: 00000000004234a0    24 OBJECT  GLOBAL DEFAULT   14 _pcre_utf8_table3
    52: 0000000000000000   251 FUNC    GLOBAL DEFAULT  UND fflush@GLIBC_2.2.5 (2)
    53: 0000000000000000  1546 FUNC    GLOBAL DEFAULT  UND setlocale@GLIBC_2.2.5 (2)
    54: 0000000000000000   238 FUNC    GLOBAL DEFAULT  UND opendir@GLIBC_2.2.5 (2)
    55: 0000000000000000   552 FUNC    GLOBAL DEFAULT  UND mbrtowc@GLIBC_2.2.5 (2)
    56: 0000000000000000   162 FUNC    GLOBAL DEFAULT  UND printf@GLIBC_2.2.5 (2)
    57: 0000000000000000   133 FUNC    GLOBAL DEFAULT  UND open@GLIBC_2.2.5 (2)
    58: 0000000000000000   133 FUNC    GLOBAL DEFAULT  UND lseek@GLIBC_2.2.5 (2)
   59: 0000000000423460    64 OBJECT  GLOBAL DEFAULT   14 _pcre_utf8_table4
    60: 00000000004234c0    24 OBJECT  GLOBAL DEFAULT   14 _pcre_utf8_table2
    61: 0000000000000000    91 FUNC    GLOBAL DEFAULT  UND towupper@GLIBC_2.2.5 (2)
    62: 0000000000000000    85 FUNC    GLOBAL DEFAULT  UND iswctype@GLIBC_2.2.5 (2)
    63: 0000000000000000   283 FUNC    GLOBAL DEFAULT  UND
__assert_fail@GLIBC_2.2.5 (2)
    64: 00000000005259b8     4 OBJECT  GLOBAL DEFAULT   24 optind@GLIBC_2.2.5 (2)
    65: 0000000000000000   418 FUNC    GLOBAL DEFAULT  UND strchr@GLIBC_2.2.5 (2)
    66: 0000000000000000   242 FUNC    GLOBAL DEFAULT  UND memset@GLIBC_2.2.5 (2)
    67: 0000000000000000    15 FUNC    GLOBAL DEFAULT  UND dcgettext@GLIBC_2.2.5 (2)
    68: 0000000000000000    55 FUNC    GLOBAL DEFAULT  UND
__ctype_toupper_loc@GLIBC_2.3 (4)
    69: 0000000000000000   107 FUNC    GLOBAL DEFAULT  UND iswlower@GLIBC_2.2.5 (2)
    70: 0000000000000000    61 FUNC    GLOBAL DEFAULT  UND strrchr@GLIBC_2.2.5 (2)
    71: 0000000000000000   172 FUNC    GLOBAL DEFAULT  UND fputc@GLIBC_2.2.5 (2)
   72: 0000000000000000   116 FUNC    GLOBAL DEFAULT  UND
obstack_free@GLIBC_2.2.5 (2)
    73: 0000000000410bf0   354 FUNC    GLOBAL DEFAULT   12 error
    74: 0000000000000000    25 FUNC    GLOBAL DEFAULT  UND isatty@GLIBC_2.2.5 (2)
    75: 0000000000000000   202 FUNC    GLOBAL DEFAULT  UND exit@GLIBC_2.2.5 (2)
    76: 0000000000000000   115 FUNC    GLOBAL DEFAULT  UND iswalnum@GLIBC_2.2.5 (2)
    77: 0000000000000000   599 FUNC    GLOBAL DEFAULT  UND wcrtomb@GLIBC_2.2.5 (2)
    78: 0000000000000000   802 FUNC    GLOBAL DEFAULT  UND calloc@GLIBC_2.2.5 (2)
    79: 0000000000000000   248 FUNC    GLOBAL DEFAULT  UND readdir@GLIBC_2.2.5 (2)
    80: 0000000000000000    16 FUNC    GLOBAL DEFAULT  UND wcscoll@GLIBC_2.2.5 (2)
    81: 0000000000423500    81 OBJECT  GLOBAL DEFAULT   14 _pcre_OP_lengths
    82: 0000000000000000   113 FUNC    GLOBAL DEFAULT  UND close@GLIBC_2.2.5 (2)
   83: 0000000000000000    17 FUNC    GLOBAL DEFAULT  UND
__errno_location@GLIBC_2.2.5 (2)
    84: 0000000000000000    21 FUNC    GLOBAL DEFAULT  UND
__ctype_get_mb_cur_max@GLIBC_2.2.5 (2)
    85: 0000000000000000   382 FUNC    GLOBAL DEFAULT  UND fnmatch@GLIBC_2.2.5 (2)
    86: 0000000000525990     8 OBJECT  GLOBAL DEFAULT   23 pcre_free
    87: 0000000000000000   405 FUNC    GLOBAL DEFAULT  UND puts@GLIBC_2.2.5 (2)
    88: 00000000005264d0     8 OBJECT  GLOBAL DEFAULT   24 pcre_callout
    89: 00000000004021b8   154 FUNC    GLOBAL DEFAULT  UND free@GLIBC_2.2.5 (2)
    90: 0000000000526518     4 OBJECT  GLOBAL DEFAULT   24 error_one_per_line
    91: 0000000000000000    10 FUNC    GLOBAL DEFAULT  UND fopen@GLIBC_2.2.5 (2)
   92: 0000000000000000   139 FUNC    GLOBAL DEFAULT  UND
_obstack_begin@GLIBC_2.2.5 (2)
    93: 0000000000000000    29 FUNC    GLOBAL DEFAULT  UND re_search@GLIBC_2.2.5 (2)
    94: 0000000000000000   288 FUNC    GLOBAL DEFAULT  UND
strerror_r@GLIBC_2.2.5 (2)
    95: 0000000000000000    20 FUNC    GLOBAL DEFAULT  UND mbsinit@GLIBC_2.2.5 (2)
    96: 00000000005259c0     8 OBJECT  GLOBAL DEFAULT   24 stdout@GLIBC_2.2.5 (2)
    97: 0000000000000000    55 FUNC    GLOBAL DEFAULT  UND
__ctype_b_loc@GLIBC_2.3 (4)
    98: 0000000000000000     8 FUNC    GLOBAL DEFAULT  UND
getopt_long@GLIBC_2.2.5 (2)
    99: 0000000000000000    32 FUNC    GLOBAL DEFAULT  UND re_match@GLIBC_2.2.5 (2)
   100: 0000000000000000    43 FUNC    GLOBAL DEFAULT  UND mmap@GLIBC_2.2.5 (2)
   101: 0000000000000000   285 FUNC    GLOBAL DEFAULT  UND regcomp@GLIBC_2.2.5 (2)
   102: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__

Histogram for bucket list length (total of 97 buckets):
 Length  Number     % of total  Coverage
      0  30         ( 30.9%)
      1  41         ( 42.3%)     40.2%
      2  18         ( 18.6%)     75.5%
      3  7          (  7.2%)     96.1%
      4  1          (  1.0%)    100.0%

Version symbols section '.gnu.version' contains 103 entries:
 Addr: 000000000040130a  Offset: 0x00130a  Link: 4 (.dynsym)
  000:   0 (*local*)       2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   3 (GLIBC_2.3.4)
  004:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  008:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   4 (GLIBC_2.3)     1 (*global*)
  00c:   2 (GLIBC_2.2.5)   1 (*global*)      2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  010:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  014:   1 (*global*)      2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  018:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   1 (*global*)      2 (GLIBC_2.2.5)
  01c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  020:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  024:   1 (*global*)      2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  028:   1 (*global*)      2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  02c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  030:   1 (*global*)      2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   1 (*global*)
  034:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  038:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   1 (*global*)
  03c:   1 (*global*)      2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  040:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  044:   4 (GLIBC_2.3)     2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  048:   2 (GLIBC_2.2.5)   1 (*global*)      2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  04c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  050:   2 (GLIBC_2.2.5)   1 (*global*)      2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  054:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   1 (*global*)      2 (GLIBC_2.2.5)
  058:   1 (*global*)      2 (GLIBC_2.2.5)   1 (*global*)      2 (GLIBC_2.2.5)
  05c:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  060:   2 (GLIBC_2.2.5)   4 (GLIBC_2.3)     2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)
  064:   2 (GLIBC_2.2.5)   2 (GLIBC_2.2.5)   0 (*local*)

Version needs section '.gnu.version_r' contains 1 entries:
 Addr: 0x00000000004013d8  Offset: 0x0013d8  Link to section: 5 (.dynstr)
  000000: Version: 1  File: libc.so.6  Cnt: 3
  0x0010:   Name: GLIBC_2.3  Flags: none  Version: 4
  0x0020:   Name: GLIBC_2.3.4  Flags: none  Version: 3
  0x0030:   Name: GLIBC_2.2.5  Flags: none  Version: 2

Notes at offset 0x00000210 with length 0x00000020:
  Owner         Data size       Description
  GNU           0x00000010      NT_VERSION (version)
Comment 9 P Nienaber 2005-12-12 22:45:37 UTC
I should mention that that was with -r9.  I have been running -r8 with the same
USE flags for quite a while now.  Rebuilding -r8 now results in the same problem.
Comment 10 P Nienaber 2005-12-12 22:48:18 UTC
USE=-static also happens to fix it, but I'd much rather have a static grep.
Comment 11 SpanKY gentoo-dev 2005-12-13 16:11:43 UTC
for now i think we're going to cut pcre
Comment 12 Timothy Stotts 2005-12-14 20:58:56 UTC
Created attachment 74782 [details]
emerge info on PPC w/ new G4 CPU
Comment 13 Timothy Stotts 2005-12-14 21:06:17 UTC
This error also appears on PPC.  Owner should change bug hardware to "All".  
Wanted a static grep with pcre.  Dynamic builds fine.  Identical behavior of  
this bug discussion.  No other command-line apps fail to build static.  Can  
compile static coreutils, diffutils, net-tools, etc.    
   
USE="static pcre" emerge grep   
   
sys-devel/gettext-0.14.4 +emacs +nls     
dev-libs/libpcre-6.3     
sys-libs/glibc-2.3.5-r2 +erandom +nls +nptl +nptlonly +pic    
sys-devel/gcc-3.4.4-r1 +altivec +fortran +gcj +gtk +nls +objc    
    
sys-apps/grep-2.5.1-r8 +nls +pcre +static    
    
#gcc --version    
gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)    
    
See attached "emerge info on PPC w/ new G4 CPU".    
   
Comment 14 SpanKY gentoo-dev 2005-12-23 21:15:34 UTC
punted pcre
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-01-17 14:04:13 UTC
*** Bug 119334 has been marked as a duplicate of this bug. ***
Comment 16 dirk husemann 2006-01-17 14:19:57 UTC
(In reply to comment #15)
> *** Bug 119334 has been marked as a duplicate of this bug. ***
> 

except that removing pcre support is not really a solution. at least the man and grep --help say -P is a valid option.
Comment 17 SpanKY gentoo-dev 2006-01-18 05:43:47 UTC
use `pcregrep`
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-02-14 00:44:31 UTC
*** Bug 122754 has been marked as a duplicate of this bug. ***
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-02-20 14:15:02 UTC
*** Bug 123542 has been marked as a duplicate of this bug. ***
Comment 20 naquah 2006-03-28 09:39:18 UTC
pcregrep doesn't support the -o flag like grep does (only matching)
Comment 21 naquah 2006-03-28 14:08:10 UTC
(In reply to comment #20)
> pcregrep doesn't support the -o flag like grep does (only matching)
> 

Hmm, well, sorry, apparently it does since not so long ago...
Comment 22 Tonda 2006-04-10 15:16:35 UTC
(In reply to comment #17)

> Hmm, well, sorry, apparently it does since not so long ago...
> 

it is not very clear to have two instalations of same utility, I think pcre USE flag should be returned into grep ebuild