* 4.2 build problem on redhat x86_64 @ 2007-11-30 2:34 Andrew Bell 2007-11-30 3:27 ` Tim Prince 0 siblings, 1 reply; 7+ messages in thread From: Andrew Bell @ 2007-11-30 2:34 UTC (permalink / raw) To: gcc-help Hi, I'm trying to build 4.2.2 on a redhat x86_64 system. I get the following during the configuration process that happens during make bootstrap: ... configuring stage 1 in ./bfd loading cache ./config.cache checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized checking target system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized ... And a little later: checking whether ln -s works... yes ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed Here's the configure line (same behavior without the variables defined) $ LIBRARY_PATH=/network/lib64 C_INCLUDE_PATH=/network/include /home/acbell/gcc/gcc-4.2.2/configure --prefix=/home/acbell/gcc/bindir Here's the build command: $ LIBRARY_PATH=/network/lib64 C_INCLUDE_PATH=/network/include make bootstrap Any ideas appreciated. -- Andrew Bell andrew.bell.ia@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.2 build problem on redhat x86_64 2007-11-30 2:34 4.2 build problem on redhat x86_64 Andrew Bell @ 2007-11-30 3:27 ` Tim Prince 2007-11-30 15:33 ` Andrew Bell 0 siblings, 1 reply; 7+ messages in thread From: Tim Prince @ 2007-11-30 3:27 UTC (permalink / raw) To: Andrew Bell; +Cc: gcc-help Andrew Bell wrote: > Hi, > > I'm trying to build 4.2.2 on a redhat x86_64 system. I get the > following during the configuration process that happens during make > bootstrap: > > .... > configuring stage 1 in ./bfd > loading cache ./config.cache > checking host system type... Invalid configuration > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > checking target system type... Invalid configuration > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > checking build system type... Invalid configuration > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > .... Are you building gcc? Did you configure or build in one of the source directories, contrary to all advice? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.2 build problem on redhat x86_64 2007-11-30 3:27 ` Tim Prince @ 2007-11-30 15:33 ` Andrew Bell 2007-11-30 16:13 ` Andrew Bell 0 siblings, 1 reply; 7+ messages in thread From: Andrew Bell @ 2007-11-30 15:33 UTC (permalink / raw) To: Tim Prince; +Cc: gcc-help On Nov 29, 2007 9:07 PM, Tim Prince <tprince@computer.org> wrote: > Andrew Bell wrote: > > Hi, > > > > I'm trying to build 4.2.2 on a redhat x86_64 system. I get the > > following during the configuration process that happens during make > > bootstrap: > > > > .... > > configuring stage 1 in ./bfd > > loading cache ./config.cache > > checking host system type... Invalid configuration > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > > > checking target system type... Invalid configuration > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > > > checking build system type... Invalid configuration > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > .... > Are you building gcc? Did you configure or build in one of the source > directories, contrary to all advice? Yes, I am building gcc. No, I did not configure or build in the source directory. (I have built gcc many times, but never on this platform). -- Andrew Bell andrew.bell.ia@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.2 build problem on redhat x86_64 2007-11-30 15:33 ` Andrew Bell @ 2007-11-30 16:13 ` Andrew Bell 2007-11-30 18:12 ` Kai Ruottu 2007-12-14 20:32 ` Michael Meissner 0 siblings, 2 replies; 7+ messages in thread From: Andrew Bell @ 2007-11-30 16:13 UTC (permalink / raw) To: Tim Prince; +Cc: gcc-help On Nov 30, 2007 8:40 AM, Andrew Bell <andrew.bell.ia@gmail.com> wrote> > On Nov 29, 2007 9:07 PM, Tim Prince <tprince@computer.org> wrote: > > Andrew Bell wrote: > > > Hi, > > > > > > I'm trying to build 4.2.2 on a redhat x86_64 system. I get the > > > following during the configuration process that happens during make > > > bootstrap: > > > > > > .... > > > configuring stage 1 in ./bfd > > > loading cache ./config.cache > > > checking host system type... Invalid configuration > > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > > > > > checking target system type... Invalid configuration > > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > > > > > checking build system type... Invalid configuration > > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > > .... > > Are you building gcc? Did you configure or build in one of the source > > directories, contrary to all advice? > > Yes, I am building gcc. I was trying to build gcc, but the process failed when trying to build the binutils that I linked in. Sorry. Is there are separate mailing list/set of maintainers for binutils? Thanks, -- Andrew Bell andrew.bell.ia@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.2 build problem on redhat x86_64 2007-11-30 16:13 ` Andrew Bell @ 2007-11-30 18:12 ` Kai Ruottu 2007-11-30 23:20 ` Andrew Bell 2007-12-14 20:32 ` Michael Meissner 1 sibling, 1 reply; 7+ messages in thread From: Kai Ruottu @ 2007-11-30 18:12 UTC (permalink / raw) To: Andrew Bell; +Cc: gcc-help Andrew Bell wrote: > I was trying to build gcc, but the process failed when trying to build > the binutils that I linked in. "Linked in"? Did you try to "combine" the binutils and GCC sources into one "build tree" and then configure and build them both at the same time? The combining isn't that simple when binutils and GCC are separate projects :( The same-name subdirectories should be "in sync", suitable for both the binutils and the GCC version. It would be much better to configure and build these separately, one by one! ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.2 build problem on redhat x86_64 2007-11-30 18:12 ` Kai Ruottu @ 2007-11-30 23:20 ` Andrew Bell 0 siblings, 0 replies; 7+ messages in thread From: Andrew Bell @ 2007-11-30 23:20 UTC (permalink / raw) To: gcc-help On Nov 30, 2007 10:38 AM, Kai Ruottu <karuottu@mbnet.fi> wrote: > Andrew Bell wrote: > > I was trying to build gcc, but the process failed when trying to build > > the binutils that I linked in. > "Linked in"? Did you try to "combine" the binutils and GCC sources into > one "build tree" and then > configure and build them both at the same time? > > The combining isn't that simple when binutils and GCC are separate > projects :( The same-name > subdirectories should be "in sync", suitable for both the binutils and > the GCC version. It would be > much better to configure and build these separately, one by one! The build instructions states that make: "Perform a 3-stage bootstrap of the compiler. This includes building three times the target tools for use by the compiler such as binutils (bfd, binutils, gas, gprof, ld, and opcodes) if they have been individually linked or moved into the top level GCC source tree before configuring." Tried things one at a time and that worked OK. Has the integrated build of binutils been tested lately. Perhaps it works, it may just need a little more detail in the instructions. Cheers and Thanks, -- Andrew Bell andrew.bell.ia@gmail.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 4.2 build problem on redhat x86_64 2007-11-30 16:13 ` Andrew Bell 2007-11-30 18:12 ` Kai Ruottu @ 2007-12-14 20:32 ` Michael Meissner 1 sibling, 0 replies; 7+ messages in thread From: Michael Meissner @ 2007-12-14 20:32 UTC (permalink / raw) To: Andrew Bell; +Cc: Tim Prince, gcc-help On Fri, Nov 30, 2007 at 09:33:09AM -0600, Andrew Bell wrote: > On Nov 30, 2007 8:40 AM, Andrew Bell <andrew.bell.ia@gmail.com> wrote> > > On Nov 29, 2007 9:07 PM, Tim Prince <tprince@computer.org> wrote: > > > Andrew Bell wrote: > > > > Hi, > > > > > > > > I'm trying to build 4.2.2 on a redhat x86_64 system. I get the > > > > following during the configuration process that happens during make > > > > bootstrap: > > > > > > > > .... > > > > configuring stage 1 in ./bfd > > > > loading cache ./config.cache > > > > checking host system type... Invalid configuration > > > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > > > > > > > checking target system type... Invalid configuration > > > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > > > > > > > checking build system type... Invalid configuration > > > > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized > > > > .... > > > Are you building gcc? Did you configure or build in one of the source > > > directories, contrary to all advice? > > > > Yes, I am building gcc. > > I was trying to build gcc, but the process failed when trying to build > the binutils that I linked in. Sorry. > > Is there are separate mailing list/set of maintainers for binutils? > > Thanks, Yes, binutils is a completely different set of developers, mailing lists, etc. though there are many people who develop for both binutils and gcc. Here is the page that explians the mailing lists: http://sourceware.org/binutils/ -- Michael Meissner, AMD 90 Central Street, MS 83-29, Boxborough, MA, 01719, USA michael.meissner@amd.com ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-12-14 20:32 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-11-30 2:34 4.2 build problem on redhat x86_64 Andrew Bell 2007-11-30 3:27 ` Tim Prince 2007-11-30 15:33 ` Andrew Bell 2007-11-30 16:13 ` Andrew Bell 2007-11-30 18:12 ` Kai Ruottu 2007-11-30 23:20 ` Andrew Bell 2007-12-14 20:32 ` Michael Meissner
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).