public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/52378] New: Can't build most recent svn version
@ 2012-02-25  7:47 list at qtrac dot plus.com
  2012-02-25  8:06 ` [Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0 pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: list at qtrac dot plus.com @ 2012-02-25  7:47 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52378
           Summary: Can't build most recent svn version
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: list@qtrac.plus.com


I did the svn read-only checkout for trunk:

: svn info
Path: .
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 184569
Node Kind: directory
Schedule: normal
Last Changed Author: ian
Last Changed Rev: 184569
Last Changed Date: 2012-02-25 02:11:29 +0000 (Sat, 25 Feb 2012)

This is into /home/mark/opt/gcc-svn-src

I then configured with ./configure --prefix=/home/mark/opt/gcc

I then did make:

...
make[3]: Entering directory
`/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc'
gcc   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o build/gengtype \
        build/gengtype.o build/errors.o build/gengtype-lex.o
build/gengtype-parse.o build/gengtype-state.o build/version.o
../../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/gencheck \
        build/gencheck.o
../../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
build/gengtype.o: In function `create_optional_field_':
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:854:
undefined reference to `lexer_line'
build/gengtype.o: In function `adjust_field_rtx_def':
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:989:
undefined reference to `lexer_line'
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1045:
undefined reference to `lexer_line'
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1055:
undefined reference to `lexer_line'
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1120:
undefined reference to `lexer_line'
build/gengtype.o:/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1159:
more undefined references to `lexer_line' follow
build/gengtype-parse.o: In function `token':
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:53:
undefined reference to `yylex'
build/gengtype-parse.o: In function `parse_error':
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:142:
undefined reference to `lexer_line'
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:142:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `struct_field_seq':
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:692:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `type':
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:726:
undefined reference to `lexer_line'
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:758:
undefined reference to `lexer_line'
build/gengtype-parse.o:/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:758:
more undefined references to `lexer_line' follow
build/gengtype-parse.o: In function `parse_file':
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:951:
undefined reference to `yybegin'
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:986:
undefined reference to `lexer_toplevel_done'
/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:991:
undefined reference to `yyend'
collect2: ld returned 1 exit status
make[3]: *** [build/gengtype] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/home/mark/opt/gcc-svn-src/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/mark/opt/gcc-svn-src'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/mark/opt/gcc-svn-src'
make: *** [all] Error 2


I would be happy to try to build a slightly earlier and more stable version but
don't know how. (With mercurial I'd do 'hg update _an_earlier_tag' but don't
know the svn equivalent if there is one.)


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

* [Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0
  2012-02-25  7:47 [Bug target/52378] New: Can't build most recent svn version list at qtrac dot plus.com
@ 2012-02-25  8:06 ` pinskia at gcc dot gnu.org
  2012-02-25  9:10 ` list at qtrac dot plus.com
  2012-02-25  9:41 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-25  8:06 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-02-25
     Ever Confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-25 07:46:51 UTC ---
>./configure 

I bet this is just a problem with you building in the src directory.  This is
not always supported and not always 100% working.  Can you try building in an
object directory?

Also do you have flex since that is required while building from subversion
(but not from the release tarballs)?


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

* [Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0
  2012-02-25  7:47 [Bug target/52378] New: Can't build most recent svn version list at qtrac dot plus.com
  2012-02-25  8:06 ` [Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0 pinskia at gcc dot gnu.org
@ 2012-02-25  9:10 ` list at qtrac dot plus.com
  2012-02-25  9:41 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: list at qtrac dot plus.com @ 2012-02-25  9:10 UTC (permalink / raw)
  To: gcc-bugs

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

Mark Summerfield <list at qtrac dot plus.com> changed:

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

--- Comment #2 from Mark Summerfield <list at qtrac dot plus.com> 2012-02-25 09:06:33 UTC ---
I'm v. sorry, I read the instructions carefully but still managed to miss the
point about doing the build out of tree since I don't need to do that for other
things. I've now built it sucessfully.

Thanks!

PS I had to do 'make realclean' in the source directory before it would build.

PPS Thanks also for mentioning flex: maybe it should be moved to the
"Tools/packages necessary for building GCC" section (currently it is in the
"Tools/packages necessary for modifying GCC" section) on page
http://gcc.gnu.org/install/prerequisites.html since I only read the former
since I just want to try to use the leading edge version, not modify it.


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

* [Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0
  2012-02-25  7:47 [Bug target/52378] New: Can't build most recent svn version list at qtrac dot plus.com
  2012-02-25  8:06 ` [Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0 pinskia at gcc dot gnu.org
  2012-02-25  9:10 ` list at qtrac dot plus.com
@ 2012-02-25  9:41 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-25  9:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-25 09:09:34 UTC ---
(In reply to comment #2)
> PPS Thanks also for mentioning flex: maybe it should be moved to the
> "Tools/packages necessary for building GCC" section (currently it is in the
> "Tools/packages necessary for modifying GCC" section) on page
> http://gcc.gnu.org/install/prerequisites.html since I only read the former
> since I just want to try to use the leading edge version, not modify it.

Well there is a reason why it is part of the modifying GCC section.  building
GCC section is for building from releases.  While modifying GCC section is for
building from svn and snapshots.


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

end of thread, other threads:[~2012-02-25  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-25  7:47 [Bug target/52378] New: Can't build most recent svn version list at qtrac dot plus.com
2012-02-25  8:06 ` [Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0 pinskia at gcc dot gnu.org
2012-02-25  9:10 ` list at qtrac dot plus.com
2012-02-25  9:41 ` pinskia 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).