Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384195 - sci-libs/lrslib gmp version 32/64 bit confusion
Summary: sci-libs/lrslib gmp version 32/64 bit confusion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial (vote)
Assignee: Thomas Kahle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-23 13:12 UTC by Erik Quaeghebeur
Modified: 2011-09-25 16:57 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 Erik Quaeghebeur 2011-09-23 13:12:50 UTC
When installing lrslib on amd64, the gmp versions of the installed programs (e.g., glrs) report to be 32 bit:

  $ lrs

  *lrs:lrslib v.4.2c, 2010.7.7(64bit,lrsmp.h)

vs.

  $ glrs

  *lrs:lrslib v.4.2c, 2010.7.7(32bit,lrsgmp.h gmp v.5.0)

According to https://bugs.launchpad.net/ubuntu/+source/lrslib/+bug/581922 it is not really the case that the 32-bit version is built (I don't know how to check). My modifications reported in the same launchpad bugreport result in a version that says it is 64 bit:

  $ <path to other version>/glrs
                                                 
  *lrs:lrslib v.4.2c, 2010.5.7(64bit,lrsgmp.h gmp v.4.3)

My request would be to patch the makefile to get unconfusing 32/64 bit info from the binaries.

Reproducible: Always
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2011-09-25 16:13:30 UTC
I'm on it, thanks for the report.
Comment 2 Thomas Kahle (RETIRED) gentoo-dev 2011-09-25 16:57:22 UTC
Should be done, bug me again if not.  Thanks. 

+*lrslib-042c-r2 (25 Sep 2011)
+
+  25 Sep 2011; Thomas Kahle <tomka@gentoo.org> +lrslib-042c-r2.ebuild:
+  Convert to EAPI=4, don't link gmp statically (bug 383811)
+  use -DB64 on amd64 (bug 384195).
+