checking for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency... no configure: error: GMP_NUMB_BITS and sizeof(mp_limb_t) are not consistent. You probably need to change some of the GMP or MPFR compile options. Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge mpfr 3. Actual Results: stops compiling Expected Results: should compile finde also 4.2 and 4.1.0_p13-r1 dont compile with the same error message
Created attachment 848997 [details] config.log file config.log
Created attachment 848999 [details] emerge --info emerge --info
waited 1 week, condition stays the same no USE flags to adjust mentioned GMP_NUMB_BITS need further advice, since my system can not compile "world" any longer as mpfr looks to be a major problem. emerge --skipfirst does not work, refering to mpfr issues
Please also attach the full build.log.
On a hunch: could you also post /usr/include/i686-pc-linux-gnu/gmp.h
Created attachment 849083 [details] gmp.h as required gmp.h
i can not find a build.log. since the error refers to "GMP_NUMB_BITS and sizeof(mp_limb_t) are not consistent" i had a look onto these 2 variables. i can not find the value of mp_limb_t, only the typedef. the value of GMP_NUMB_BITS = (GMP_LIMB_BITS - GMP_NAIL_BITS), which actually is 32-0 = 32. so how/where can i set the sice of mp_limb_t ?? i tried setting #define GMP_LIMB_BITS to 64, to no avail. need further assistance please..
in config.log i found : GMP_NUMB_BITS = 64 sizeof(mp_limb_t) = 4 sizeof(mp_limb_t) * CHAR_BIT = 32 != GMP_NUMB_BITS strange since gmp.h says GMP_NUMB_BITS = (GMP_LIMB_BITS - GMP_NAIL_BITS) = 32 i noticed the new ABI_X86="32*" FLAG, i guess thats the problem, since mpfr compiles fine with ABI_X86="-32" emerge -av mpfr...
ok, sorry for the confusion. i was fiddling with various gmp versions due to my bachelor thesis. and there was a gmp.h remaining in a directory /usr/local/incluse which caused the trouble... it was my fault, shame on me
No worries! It happens sometimes. Glad to hear you got it sorted. Happy hacking!