public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile
@ 2011-04-05  3:04 mancilla at cse dot unsw.edu.au
  2011-04-05  3:38 ` [Bug other/48445] " pinskia at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: mancilla at cse dot unsw.edu.au @ 2011-04-05  3:04 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Release does not generate fixincludes directory needed
                    by Makefile
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mancilla@cse.unsw.edu.au


Created attachment 23877
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23877
The configure that bombed

I did a build in a clean directory from svn revision number 171966,
trying to build c,c++,go.  The build bombed with an attempt to call
./fixincludes, which did not exist, because the fixincludes directory
did not exist in the build directory (it is in the svn directory).


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
@ 2011-04-05  3:38 ` pinskia at gcc dot gnu.org
  2011-04-05  3:45 ` mancilla at cse dot unsw.edu.au
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-05  3:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-05 03:38:14 UTC ---
Are you building inside the source directly?  If so that is not really
supported.


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
  2011-04-05  3:38 ` [Bug other/48445] " pinskia at gcc dot gnu.org
@ 2011-04-05  3:45 ` mancilla at cse dot unsw.edu.au
  2011-04-05  3:48 ` pinskia at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mancilla at cse dot unsw.edu.au @ 2011-04-05  3:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from mancilla at cse dot unsw.edu.au 2011-04-05 03:44:59 UTC ---
No, I'm building in a separate build directory.
Below is my build sequence.
------------------------------------------------------------

#!/bin/sh

echo Updating the svn repository
(cd gcc-svn; svn update)

echo 
rm -rf gcc-build-latest
mkdir gcc-build-latest
cd gcc-build-latest

echo Configuring gcc-latest
../gcc-svn/configure --prefix=/home/mancilla/current/soft/install-latest
--with-gmp=/home/mancilla/current/soft/install
--with-mpfr=/home/mancilla/current/soft/install
--with-mpc=/home/mancilla/current/soft/install --disable-multilib
--enable-languages=c,c++,go

echo Building gcc-latest
make

------------------------------------------------------------

Regards,
Blanca

On Tue, Apr 05, 2011 at 03:38:19AM +0000, pinskia at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48445
> 
> --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-05 03:38:14 UTC ---
> Are you building inside the source directly?  If so that is not really
> supported.
> 
> -- 
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You reported the bug.


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
  2011-04-05  3:38 ` [Bug other/48445] " pinskia at gcc dot gnu.org
  2011-04-05  3:45 ` mancilla at cse dot unsw.edu.au
@ 2011-04-05  3:48 ` pinskia at gcc dot gnu.org
  2011-04-05  3:49 ` [Bug bootstrap/48445] " pinskia at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-05  3:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-05 03:48:39 UTC ---
Oh and using a relative path to configure is not fully supported either even
though it has worked a lot more reliable than building in the source directory.
 Try doing:
`pwd`/../gcc-svn/configure


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

* [Bug bootstrap/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (2 preceding siblings ...)
  2011-04-05  3:48 ` pinskia at gcc dot gnu.org
@ 2011-04-05  3:49 ` pinskia at gcc dot gnu.org
  2011-04-05  4:32 ` [Bug other/48445] " mancilla at cse dot unsw.edu.au
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-05  3:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
          Component|other                       |bootstrap
           Severity|blocker                     |normal


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (3 preceding siblings ...)
  2011-04-05  3:49 ` [Bug bootstrap/48445] " pinskia at gcc dot gnu.org
@ 2011-04-05  4:32 ` mancilla at cse dot unsw.edu.au
  2011-04-05 11:07 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mancilla at cse dot unsw.edu.au @ 2011-04-05  4:32 UTC (permalink / raw)
  To: gcc-bugs

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

mancilla at cse dot unsw.edu.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |other
           Severity|normal                      |blocker

--- Comment #4 from mancilla at cse dot unsw.edu.au 2011-04-05 04:32:36 UTC ---
I did as suggested and it gave the same error:

make[3]: Leaving directory
`/home/mancilla/current/soft/src/gcc-build-latest/gcc'
mkdir -p -- x86_64-unknown-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm...
/home/mancilla/current/soft/src/gcc-build-latest/./gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc...
/home/mancilla/current/soft/src/gcc-build-latest/./gcc/xgcc
-B/home/mancilla/current/soft/src/gcc-build-latest/./gcc/
-B/home/mancilla/current/soft/install-latest/x86_64-unknown-linux-gnu/bin/
-B/home/mancilla/current/soft/install-latest/x86_64-unknown-linux-gnu/lib/
-isystem
/home/mancilla/current/soft/install-latest/x86_64-unknown-linux-gnu/include
-isystem
/home/mancilla/current/soft/install-latest/x86_64-unknown-linux-gnu/sys-include 
checking for suffix of object files... configure: error: in
`/home/mancilla/current/soft/src/gcc-build-latest/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/mancilla/current/soft/src/gcc-build-latest'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/mancilla/current/soft/src/gcc-build-latest'
make: *** [all] Error 2
Installing gcc-latest
make[1]: Entering directory `/home/mancilla/current/soft/src/gcc-build-latest'
/bin/bash
/home/mancilla/current/soft/src/gcc-build-latest/../gcc-svn/mkinstalldirs
/home/mancilla/current/soft/install-latest
/home/mancilla/current/soft/install-latest
/bin/bash: line 3: cd: ./fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory `/home/mancilla/current/soft/src/gcc-build-latest'
make: *** [install] Error 2


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (4 preceding siblings ...)
  2011-04-05  4:32 ` [Bug other/48445] " mancilla at cse dot unsw.edu.au
@ 2011-04-05 11:07 ` rguenth at gcc dot gnu.org
  2011-04-05 14:49 ` redi at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-05 11:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-05 11:06:23 UTC ---
Would be interesting to know why fixincludes is not built.  Can you try to
track that down?


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (5 preceding siblings ...)
  2011-04-05 11:07 ` rguenth at gcc dot gnu.org
@ 2011-04-05 14:49 ` redi at gcc dot gnu.org
  2011-04-05 14:52 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: redi at gcc dot gnu.org @ 2011-04-05 14:49 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-05 14:48:01 UTC ---
(In reply to comment #4)
> checking for suffix of object files... configure: error: in
> `/home/mancilla/current/soft/src/gcc-build-latest/x86_64-unknown-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.

See http://gcc.gnu.org/wiki/FAQ#configure_suffix
It usually means libgmp.so etc. can't be found by the runtime linker, have you
put /home/mancilla/current/soft/install in the linker's path?
e.g. LD_LIBRARY_PATH=/home/mancilla/current/soft/install


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (6 preceding siblings ...)
  2011-04-05 14:49 ` redi at gcc dot gnu.org
@ 2011-04-05 14:52 ` redi at gcc dot gnu.org
  2011-04-05 14:58 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: redi at gcc dot gnu.org @ 2011-04-05 14:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-05 14:51:15 UTC ---
(In reply to comment #6)
> (In reply to comment #4)
> > checking for suffix of object files... configure: error: in
> > `/home/mancilla/current/soft/src/gcc-build-latest/x86_64-unknown-linux-gnu/libgcc':
> > configure: error: cannot compute suffix of object files: cannot compile
> > See `config.log' for more details.
> 
> See http://gcc.gnu.org/wiki/FAQ#configure_suffix
> It usually means libgmp.so etc. can't be found by the runtime linker, have you
> put /home/mancilla/current/soft/install in the linker's path?
> e.g. LD_LIBRARY_PATH=/home/mancilla/current/soft/install

oops, that should be:
LD_LIBRARY_PATH=/home/mancilla/current/soft/install/lib


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (7 preceding siblings ...)
  2011-04-05 14:52 ` redi at gcc dot gnu.org
@ 2011-04-05 14:58 ` redi at gcc dot gnu.org
  2011-04-06  0:18 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: redi at gcc dot gnu.org @ 2011-04-05 14:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-05 14:55:41 UTC ---
(In reply to comment #4)
> checking for suffix of object files... configure: error: in
> `/home/mancilla/current/soft/src/gcc-build-latest/x86_64-unknown-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgcc] Error 1
> make[2]: Leaving directory `/home/mancilla/current/soft/src/gcc-build-latest'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/mancilla/current/soft/src/gcc-build-latest'
> make: *** [all] Error 2
> Installing gcc-latest

^^ Where does this message come from?

> make[1]: Entering directory `/home/mancilla/current/soft/src/gcc-build-latest'
> /bin/bash
> /home/mancilla/current/soft/src/gcc-build-latest/../gcc-svn/mkinstalldirs
> /home/mancilla/current/soft/install-latest
> /home/mancilla/current/soft/install-latest
> /bin/bash: line 3: cd: ./fixincludes: No such file or directory
> make[1]: *** [install-fixincludes] Error 1
> make[1]: Leaving directory `/home/mancilla/current/soft/src/gcc-build-latest'
> make: *** [install] Error 2


It looks to me as though your build script does
  make
  make install
which assumes the 'make' step works.

But it doesn't, because of the configure error because your linker can't find
the prerequisite libs (which is documented at
http://gcc.gnu.org/install/configure.html under the --with-gmp docs)

So the reason fixincludes doesn't exist is because you never finished running
"make"


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (8 preceding siblings ...)
  2011-04-05 14:58 ` redi at gcc dot gnu.org
@ 2011-04-06  0:18 ` pinskia at gcc dot gnu.org
  2011-04-06  0:50 ` mancilla at cse dot unsw.edu.au
  2011-04-06  8:02 ` redi at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-06  0:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.04.06 00:18:22
     Ever Confirmed|0                           |1


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (9 preceding siblings ...)
  2011-04-06  0:18 ` pinskia at gcc dot gnu.org
@ 2011-04-06  0:50 ` mancilla at cse dot unsw.edu.au
  2011-04-06  8:02 ` redi at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: mancilla at cse dot unsw.edu.au @ 2011-04-06  0:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Blanca Mancilla <mancilla at cse dot unsw.edu.au> 2011-04-06 00:50:09 UTC ---
Yeap! The problem was the libraries not found and the make install assumming
make run without error. I had a conflict between the ubuntu c++ and 4.7 in some
other program and while testing, commented the library path line in my bashrc. 
Also, should change the script to make && make install, instead of having them
in as separate commands to avoid the misleading messages.
Thanks for the comments.


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

* [Bug other/48445] Release does not generate fixincludes directory needed by Makefile
  2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
                   ` (10 preceding siblings ...)
  2011-04-06  0:50 ` mancilla at cse dot unsw.edu.au
@ 2011-04-06  8:02 ` redi at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: redi at gcc dot gnu.org @ 2011-04-06  8:02 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-06 08:02:26 UTC ---
invalid then

N.B. if you copy the gmp/mpfr/mpc sources into the gcc source tree you don't
need to build & install them separately, and don't need to use LD_LIBRARY_PATH
- it's much easier


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

end of thread, other threads:[~2011-04-06  8:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-05  3:04 [Bug other/48445] New: Release does not generate fixincludes directory needed by Makefile mancilla at cse dot unsw.edu.au
2011-04-05  3:38 ` [Bug other/48445] " pinskia at gcc dot gnu.org
2011-04-05  3:45 ` mancilla at cse dot unsw.edu.au
2011-04-05  3:48 ` pinskia at gcc dot gnu.org
2011-04-05  3:49 ` [Bug bootstrap/48445] " pinskia at gcc dot gnu.org
2011-04-05  4:32 ` [Bug other/48445] " mancilla at cse dot unsw.edu.au
2011-04-05 11:07 ` rguenth at gcc dot gnu.org
2011-04-05 14:49 ` redi at gcc dot gnu.org
2011-04-05 14:52 ` redi at gcc dot gnu.org
2011-04-05 14:58 ` redi at gcc dot gnu.org
2011-04-06  0:18 ` pinskia at gcc dot gnu.org
2011-04-06  0:50 ` mancilla at cse dot unsw.edu.au
2011-04-06  8:02 ` redi 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).