Follow-up Comment #4, bug #15587 (project findutils):

i tried to link findutils 4.2.30 statically against glibc 2.5, and got the
same error, so i think it is still a problem (at least on x86_64). some more
information for those of you, who interested:
build host: fedora core 6 x86_64 on amd64
host glibc packages:
  glibc-common-2.5-10.fc6.x86_64
  glibc-headers-2.5-10.fc6.x86_64
  glibc-2.5-10.fc6.i686
  glibc-2.5-10.fc6.x86_64
  glibc-devel-2.5-10.fc6.x86_64
and the error:
make[2]: Entering directory `/data/devel/lfs/build/findutils-4.2.30/find'
gcc  -g -O2  -static -o find  find.o fstype.o parser.o pred.o tree.o util.o
version.o ../lib/libfind.a ../gnulib/lib/libgnulib.a
pred.o: In function `pred_nogroup':
/data/devel/lfs/build/findutils-4.2.30/find/pred.c:1134: warning: Using
'getgrgid' in statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
parser.o: In function `parse_group':
/data/devel/lfs/build/findutils-4.2.30/find/parser.c:757: warning: Using
'getgrnam' in statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/data/devel/lfs/build/findutils-4.2.30/find/parser.c:758: warning: Using
'endgrent' in statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
parser.o: In function `parse_user':
/data/devel/lfs/build/findutils-4.2.30/find/parser.c:1661: warning: Using
'getpwnam' in statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
pred.o: In function `pred_nouser':
/data/devel/lfs/build/findutils-4.2.30/find/pred.c:1151: warning: Using
'getpwuid' in statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
parser.o: In function `parse_user':
/data/devel/lfs/build/findutils-4.2.30/find/parser.c:1662: warning: Using
'endpwent' in statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/libc.a(regex.o):(.rodata+0xa40):
multiple definition of `__re_error_msgid_idx'
../gnulib/lib/libgnulib.a(regex.o):(.rodata+0xa40): first defined here
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/libc.a(regex.o):(.rodata+0x8c0):
multiple definition of `__re_error_msgid'
../gnulib/lib/libgnulib.a(regex.o):(.rodata+0x8c0): first defined here
collect2: ld returned 1 exit status
make[2]: *** [find] Error 1
make[2]: Leaving directory `/data/devel/lfs/build/findutils-4.2.30/find'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/data/devel/lfs/build/findutils-4.2.30/find'
make: *** [install-recursive] Error 1

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?15587>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to