[oe-issues] [Bug 3085] gcc-cross-4.2.1 fails to build

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Tue Nov 20 10:26:48 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3085


Esben Haabendal <eha at doredevelopment.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




--- Comment #5 from Esben Haabendal <eha at doredevelopment.dk>  2007-11-20 02:26:48 ---
If you take a look at the log output from do_configure you will find

checking for correct version of mpfr.h... buggy version of MPFR detected

And in config.log of the top-level build dir you will find

configure:2364: checking for correct version of mpfr.h
configure:2378: ccache gcc -c
-isystem/data/stuff/build/gallega/tmp/staging/i686
-linux/include -O2 -I/data/stuff/build/gallega/tmp/staging/i686-linux/include
-isystem/data/stuff/build/gallega/tmp/staging/i686-linux/include conftest.c
1>&5
configure: In function 'main':
configure:2372: error: 'choke' undeclared (first use in this function)
configure:2372: error: (Each undeclared identifier is reported only once
configure:2372: error: for each function it appears in.)
configure:2372: error: expected ';' before 'me'
configure: failed program was:
#line 2366 "configure"
#include "confdefs.h"
#include "gmp.h"
#include <mpfr.h>
int main() {

#if MPFR_VERSION < MPFR_VERSION_NUM(2,2,1)
  choke me
#endif

; return 0; }

See also http://gcc.gnu.org/ml/gcc-bugs/2007-02/msg02811.html

So I guess we should upgrade our mpfr to at least version 2.2.1 (latest version
is 2.3.0 and requires GMP 4.1.0 or higher).


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list