public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/45905] New: Cross Build GCC 4.5.1 for arm failed to located gmp header files
@ 2010-10-06  0:45 samsonluk at gmail dot com
  2010-10-06  0:47 ` [Bug other/45905] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: samsonluk at gmail dot com @ 2010-10-06  0:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45905

           Summary: Cross Build GCC 4.5.1 for arm failed to located gmp
                    header files
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: samsonluk@gmail.com


GCC version: 4.5.1 final
System type: i686 Ubuntu 10.04
Cross Toolchain: GNU C (Sourcery G++ Lite 2010q1-202) version 4.4.1
(arm-none-linux-gnueabi)compiled by GNU C version 4.3.2, GMP version 4.3.1,
MPFR version 2.4.2.
build systm type: i686-pc-linux-gnu
host system type: arm-none-linux-gnueabi
target system type: arm-none-linux-gnueabi
gcc source folder: /home/samson/src/gcc-4.5.1
gcc build folder: /home/samson/src/gccB451

gmp-5.0.1, mpc-0.8.2, mpfr-3.0.0 unpack to /home/samson/src/gcc-4.5.1 and
folder renamed gmp, mpc and mpfr respectively.

Options given when GCC was configured/built:
/home/samson/src/gcc-4.4.1/configure --prefix=/opt \
--host=arm-none-linux-gnueabi \
--target=arm-none-linux-gnueabi \
--disable-bootstrap \
--enable-languages=c,c++ \
--enable-threads=posix \
--disable-multilib \
--disable-libstdcxx-pch \
--enable-__cxa_atexit \
--disable-libgomp \
--without-ppl \
--without-cloog \
--enable-clocale=gnu


Compiler error output:
checking for gmp internal files... configure: error: header files gmp-impl.h
and longlong.h not found
make[1]: *** [configure-mpfr] Error 1
make[1]: Leaving directory `/home/samson/src/gccB451'
make: *** [all] Error 2


Problem fixed by making symlinks of gmp header file uder gcc source folder/gmp
to gcc build folder/gmp :
~/src/gccB451$ ll
total 3848
drwxr-xr-x  8 samson samson    4096 2010-10-06 07:53 ./
drwxr-xr-x 15 samson samson    4096 2010-10-06 07:11 ../
-rw-r--r--  1 samson samson  139860 2010-10-06 07:41 config.log
-rwxr-xr-x  1 samson samson   35569 2010-10-06 07:41 config.status*
-rw-r--r--  1 samson samson   12765 2010-10-06 07:41 configure451.out
drwxr-xr-x  2 samson samson    4096 2010-10-06 07:43 fixincludes/
drwxr-xr-x 11 samson samson    4096 2010-10-06 07:47 gcc/
drwxr-xr-x 15 samson samson    4096 2010-10-06 07:53 gmp/
drwxr-xr-x  2 samson samson    4096 2010-10-06 07:44 intl/
drwxr-xr-x  3 samson samson    4096 2010-10-06 07:43 libiberty/
-rw-r--r--  1 samson samson 3214786 2010-10-06 07:53 make451.log
-rw-r--r--  1 samson samson  488822 2010-10-06 07:41 Makefile
drwxr-xr-x  2 samson samson    4096 2010-10-06 07:53 mpfr/
-rw-r--r--  1 samson samson      13 2010-10-06 07:41 serdep.tmp
~/src/gccB451$
~/src/gccB451$ cd gmp
~/src/gccB451/gmp$ ll
total 2280
drwxr-xr-x 15 samson samson    4096 2010-10-06 07:53 ./
drwxr-xr-x  8 samson samson    4096 2010-10-06 07:53 ../
-rw-r--r--  1 samson samson     261 2010-10-06 07:52 assert.lo
-rw-r--r--  1 samson samson    1776 2010-10-06 07:52 assert.o
-rw-r--r--  1 samson samson     261 2010-10-06 07:52 compat.lo
-rw-r--r--  1 samson samson    1644 2010-10-06 07:52 compat.o
-rw-r--r--  1 samson samson   11714 2010-10-06 07:48 config.cache
-rw-r--r--  1 samson samson   19070 2010-10-06 07:48 config.h
-rw-r--r--  1 samson samson 1166648 2010-10-06 07:49 config.log
-rw-r--r--  1 samson samson     700 2010-10-06 07:48 config.m4
-rwxr-xr-x  1 samson samson   98883 2010-10-06 07:48 config.status*
drwxr-xr-x  2 samson samson    4096 2010-10-06 07:48 cxx/
drwxr-xr-x  4 samson samson    4096 2010-10-06 07:48 demos/
drwxr-xr-x  2 samson samson    4096 2010-10-06 07:48 doc/
-rw-r--r--  1 samson samson     259 2010-10-06 07:52 errno.lo
-rw-r--r--  1 samson samson    1660 2010-10-06 07:52 errno.o
-rw-r--r--  1 samson samson     271 2010-10-06 07:52 extract-dbl.lo
-rw-r--r--  1 samson samson    1736 2010-10-06 07:52 extract-dbl.o
-rw-r--r--  1 samson samson     196 2010-10-06 07:49 fib_table.h
-rwxr-xr-x  1 samson samson   17577 2010-10-06 07:49 gen-bases*
-rwxr-xr-x  1 samson samson   17248 2010-10-06 07:49 gen-fac_ui*
-rwxr-xr-x  1 samson samson   17427 2010-10-06 07:49 gen-fib*
-rwxr-xr-x  1 samson samson   22198 2010-10-06 07:49 gen-psqr*
-rwxr-xr-x  1 samson samson   21461 2010-10-06 07:49 gen-trialdivtab*
-rw-r--r--  1 samson samson   86217 2010-10-06 07:48 gmp.h
lrwxrwxrwx  1 samson samson      55 2010-10-06 07:49 gmp-mparam.h ->
/home/samson/src/gcc-4.5.1/gmp/mpn/generic/gmp-mparam.h
-rw-r--r--  1 samson samson     263 2010-10-06 07:52 invalid.lo
-rw-r--r--  1 samson samson    1244 2010-10-06 07:52 invalid.o
-rw-r--r--  1 samson samson     859 2010-10-06 07:53 libgmp.la
drwxr-xr-x  2 samson samson    4096 2010-10-06 07:53 .libs/
-rwxr-xr-x  1 samson samson  269041 2010-10-06 07:49 libtool*
-rw-r--r--  1 samson samson   79975 2010-10-06 07:48 Makefile
-rw-r--r--  1 samson samson     261 2010-10-06 07:52 memory.lo
-rw-r--r--  1 samson samson    2248 2010-10-06 07:52 memory.o
-rw-r--r--  1 samson samson     379 2010-10-06 07:49 mp_bases.h
-rw-r--r--  1 samson samson     261 2010-10-06 07:52 mp_bpl.lo
-rw-r--r--  1 samson samson     944 2010-10-06 07:52 mp_bpl.o
drwxr-xr-x  2 samson samson    4096 2010-10-06 07:48 mpbsd/
-rw-r--r--  1 samson samson     269 2010-10-06 07:52 mp_clz_tab.lo
-rw-r--r--  1 samson samson    1012 2010-10-06 07:52 mp_clz_tab.o
-rw-r--r--  1 samson samson     267 2010-10-06 07:52 mp_dv_tab.lo
-rw-r--r--  1 samson samson    1370 2010-10-06 07:52 mp_dv_tab.o
drwxr-xr-x  3 samson samson    4096 2010-10-06 07:52 mpf/
-rw-r--r--  1 samson samson     269 2010-10-06 07:52 mp_get_fns.lo
-rw-r--r--  1 samson samson    1412 2010-10-06 07:52 mp_get_fns.o
-rw-r--r--  1 samson samson    5413 2010-10-06 07:48 mp.h
-rw-r--r--  1 samson samson     271 2010-10-06 07:52 mp_minv_tab.lo
-rw-r--r--  1 samson samson    1023 2010-10-06 07:52 mp_minv_tab.o
drwxr-xr-x  3 samson samson   20480 2010-10-06 07:50 mpn/
drwxr-xr-x  3 samson samson    4096 2010-10-06 07:51 mpq/
-rw-r--r--  1 samson samson     269 2010-10-06 07:52 mp_set_fns.lo
-rw-r--r--  1 samson samson    1576 2010-10-06 07:52 mp_set_fns.o
drwxr-xr-x  3 samson samson   12288 2010-10-06 07:51 mpz/
-rw-r--r--  1 samson samson     267 2010-10-06 07:52 nextprime.lo
-rw-r--r--  1 samson samson    2776 2010-10-06 07:52 nextprime.o
drwxr-xr-x  3 samson samson    4096 2010-10-06 07:52 printf/
-rw-r--r--  1 samson samson     263 2010-10-06 07:52 randbui.lo
-rw-r--r--  1 samson samson    1204 2010-10-06 07:52 randbui.o
-rw-r--r--  1 samson samson     263 2010-10-06 07:52 randclr.lo
-rw-r--r--  1 samson samson    1156 2010-10-06 07:52 randclr.o
-rw-r--r--  1 samson samson     263 2010-10-06 07:52 randdef.lo
-rw-r--r--  1 samson samson    1240 2010-10-06 07:52 randdef.o
-rw-r--r--  1 samson samson     265 2010-10-06 07:52 randiset.lo
-rw-r--r--  1 samson samson    1168 2010-10-06 07:52 randiset.o
-rw-r--r--  1 samson samson     265 2010-10-06 07:52 randlc2s.lo
-rw-r--r--  1 samson samson    2428 2010-10-06 07:52 randlc2s.o
-rw-r--r--  1 samson samson     265 2010-10-06 07:52 randlc2x.lo
-rw-r--r--  1 samson samson    6056 2010-10-06 07:52 randlc2x.o
-rw-r--r--  1 samson samson     257 2010-10-06 07:52 rand.lo
-rw-r--r--  1 samson samson     261 2010-10-06 07:52 randmt.lo
-rw-r--r--  1 samson samson    6072 2010-10-06 07:52 randmt.o
-rw-r--r--  1 samson samson     263 2010-10-06 07:52 randmts.lo
-rw-r--r--  1 samson samson    3276 2010-10-06 07:52 randmts.o
-rw-r--r--  1 samson samson     263 2010-10-06 07:52 randmui.lo
-rw-r--r--  1 samson samson    1648 2010-10-06 07:52 randmui.o
-rw-r--r--  1 samson samson    1408 2010-10-06 07:52 rand.o
-rw-r--r--  1 samson samson     261 2010-10-06 07:52 randsd.lo
-rw-r--r--  1 samson samson    1164 2010-10-06 07:52 randsd.o
-rw-r--r--  1 samson samson     265 2010-10-06 07:52 randsdui.lo
-rw-r--r--  1 samson samson    1280 2010-10-06 07:52 randsdui.o
-rw-r--r--  1 samson samson     259 2010-10-06 07:52 rands.lo
-rw-r--r--  1 samson samson     852 2010-10-06 07:52 rands.o
drwxr-xr-x  3 samson samson    4096 2010-10-06 07:52 scanf/
-rw-r--r--  1 samson samson      23 2010-10-06 07:48 stamp-h1
-rw-r--r--  1 samson samson     267 2010-10-06 07:52 tal-reent.lo
-rw-r--r--  1 samson samson    1592 2010-10-06 07:52 tal-reent.o
drwxr-xr-x 11 samson samson    4096 2010-10-06 07:48 tests/
-rw-r--r--  1 samson samson  126467 2010-10-06 07:49 trialdivtab.h
drwxr-xr-x  2 samson samson    4096 2010-10-06 07:48 tune/
-rw-r--r--  1 samson samson     263 2010-10-06 07:52 version.lo
-rw-r--r--  1 samson samson     944 2010-10-06 07:52 version.o
~/src/gccB451/gmp$
~/src/gccB451/gmp$ ln -s ../../gcc-4.5.1/gmp/*.h .
~/src/gccB451/gmp$ ll *.h
-rw-r--r-- 1 samson samson  19070 2010-10-06 07:48 config.h
-rw-r--r-- 1 samson samson    196 2010-10-06 07:49 fib_table.h
-rw-r--r-- 1 samson samson  86217 2010-10-06 07:48 gmp.h
lrwxrwxrwx 1 samson samson     30 2010-10-06 07:55 gmp-impl.h ->
../../gcc-4.5.1/gmp/gmp-impl.h
lrwxrwxrwx 1 samson samson     55 2010-10-06 07:49 gmp-mparam.h ->
/home/samson/src/gcc-4.5.1/gmp/mpn/generic/gmp-mparam.h
lrwxrwxrwx 1 samson samson     27 2010-10-06 07:55 gmpxx.h ->
../../gcc-4.5.1/gmp/gmpxx.h
lrwxrwxrwx 1 samson samson     30 2010-10-06 07:55 longlong.h ->
../../gcc-4.5.1/gmp/longlong.h
-rw-r--r-- 1 samson samson    379 2010-10-06 07:49 mp_bases.h
-rw-r--r-- 1 samson samson   5413 2010-10-06 07:48 mp.h
lrwxrwxrwx 1 samson samson     28 2010-10-06 07:55 randmt.h ->
../../gcc-4.5.1/gmp/randmt.h
-rw-r--r-- 1 samson samson 126467 2010-10-06 07:49 trialdivtab.h


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/45905] Cross Build GCC 4.5.1 for arm failed to located gmp header files
  2010-10-06  0:45 [Bug other/45905] New: Cross Build GCC 4.5.1 for arm failed to located gmp header files samsonluk at gmail dot com
@ 2010-10-06  0:47 ` pinskia at gcc dot gnu.org
  2010-10-06  0:48 ` [Bug bootstrap/45905] " pinskia at gcc dot gnu.org
  2010-10-06 10:26 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-06  0:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45905

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-06 00:47:23 UTC ---
I think this is an issue with the newer versions of MPRF and GMP where you need
to copy a header before being able to build.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/45905] Cross Build GCC 4.5.1 for arm failed to located gmp header files
  2010-10-06  0:45 [Bug other/45905] New: Cross Build GCC 4.5.1 for arm failed to located gmp header files samsonluk at gmail dot com
  2010-10-06  0:47 ` [Bug other/45905] " pinskia at gcc dot gnu.org
@ 2010-10-06  0:48 ` pinskia at gcc dot gnu.org
  2010-10-06 10:26 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-06  0:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45905

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|other                       |bootstrap

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-06 00:48:05 UTC ---
http://gcc.gnu.org/ml/gcc/2010-06/msg00280.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/45905] Cross Build GCC 4.5.1 for arm failed to located gmp header files
  2010-10-06  0:45 [Bug other/45905] New: Cross Build GCC 4.5.1 for arm failed to located gmp header files samsonluk at gmail dot com
  2010-10-06  0:47 ` [Bug other/45905] " pinskia at gcc dot gnu.org
  2010-10-06  0:48 ` [Bug bootstrap/45905] " pinskia at gcc dot gnu.org
@ 2010-10-06 10:26 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-06 10:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45905

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-06 10:26:21 UTC ---
dup

*** This bug has been marked as a duplicate of bug 44455 ***


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-06 10:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06  0:45 [Bug other/45905] New: Cross Build GCC 4.5.1 for arm failed to located gmp header files samsonluk at gmail dot com
2010-10-06  0:47 ` [Bug other/45905] " pinskia at gcc dot gnu.org
2010-10-06  0:48 ` [Bug bootstrap/45905] " pinskia at gcc dot gnu.org
2010-10-06 10:26 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).