Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124772 - ABI=x86 emerge =procps-3.2.5-r1 fails
Summary: ABI=x86 emerge =procps-3.2.5-r1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 124816
  Show dependency tree
 
Reported: 2006-03-03 04:47 UTC by Simon Stelling (RETIRED)
Modified: 2006-07-20 08:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Stelling (RETIRED) gentoo-dev 2006-03-03 04:47:19 UTC
ABI=x86 emerge =procps-3.2.5-r1 fails with the 32bit-userland profile:

!!! ERROR: sys-process/procps-3.2.5-r1 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_install

!!! File /var/tmp/portage/procps-3.2.5-r1/image///lib32/libproc-3.2.5.so matches a file type that is not allowed in /lib32
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-03-03 05:04:49 UTC
seems like this is a candidate for KERNEL_ABI:

from Makefile:
# Be 64-bit if at all possible. In a cross-compiling situation, one may
# do "make m64=-m32 lib64=lib" to produce 32-bit executables. DO NOT
# attempt to use a 32-bit executable on a 64-bit kernel. Packagers MUST
# produce separate executables for ppc and ppc64, s390 and s390x,
# i386 and x86-64, mips and mips64, sparc and sparc64, and so on.
# Failure to do so will cause data corruption.
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2006-03-25 04:53:41 UTC
since i couldn't find any library dependencies on libproc (only binary deps) we just force ABI=$KERNEL_ABI now. everything else doesn't work anyway according to the makefile
Comment 3 SpanKY gentoo-dev 2006-04-21 15:22:14 UTC
i dont really get the "solution" here
Comment 4 Albert Cahalan 2006-06-26 19:55:44 UTC
Without even hacking the code or Makefile:

You can statically link it.
You can link against uClibc. (last I heard)
You can link against dietlibc. (last I heard)

What you can't do is have a 32-bit procps run correctly on a 64-bit kernel.
It fails the test suite. There is no good reason to do this anyway; it just
makes your system slow and buggy.

This suggests another option: run a 32-bit kernel. (still slow, but
less buggy than a mismatched system)

If space is the issue, perhaps you'd prefer busybox.
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-06-27 03:58:36 UTC
a 32bit kernel isn't slower than a 64bit one
Comment 6 SpanKY gentoo-dev 2006-06-27 07:32:55 UTC
he didnt say that
Comment 7 Simon Stelling (RETIRED) gentoo-dev 2006-07-20 08:26:26 UTC
LATER