* parser error
@ 2010-03-11 10:38 srinivas13.2
2010-03-11 11:28 ` Edit: " srinivas13.2
2010-03-16 14:53 ` Ian Lance Taylor
0 siblings, 2 replies; 5+ messages in thread
From: srinivas13.2 @ 2010-03-11 10:38 UTC (permalink / raw)
To: gcc-help
Im trying to build gcc4.4.1 using eclipse.
I successfully ran ./configure --disable-multilib and make from command
line, and now when i try to builld it from eclipse i'am getting the
following error:
**** Build of configuration Debug for project MyGcc ****
make all
yacc ../intl/plural.y
yacc: e - line 46 of "../intl/plural.y", syntax error
%pure_parser
^
make: *** [../intl/plural.c] Error 1
[End of error]
$which yacc
/usr/bin/yacc
$which byacc
/usr/bin/byacc
$which bison
/usr/bin/bison
Kindly suggest what is to be done in this regard
Thanks,
Gopal
--
View this message in context: http://old.nabble.com/parser-error-tp27861799p27861799.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Edit: parser error
2010-03-11 10:38 parser error srinivas13.2
@ 2010-03-11 11:28 ` srinivas13.2
2010-03-16 14:53 ` Ian Lance Taylor
1 sibling, 0 replies; 5+ messages in thread
From: srinivas13.2 @ 2010-03-11 11:28 UTC (permalink / raw)
To: gcc-help
I'm using Fedora 12 on intel 64-bit machine
-Gopal
srinivas13.2 wrote:
>
> Im trying to build gcc4.4.1 using eclipse.
> I successfully ran ./configure --disable-multilib and make from command
> line, and now when i try to builld it from eclipse i'am getting the
> following error:
>
> **** Build of configuration Debug for project MyGcc ****
>
> make all
> yacc ../intl/plural.y
> yacc: e - line 46 of "../intl/plural.y", syntax error
> %pure_parser
> ^
> make: *** [../intl/plural.c] Error 1
> [End of error]
>
> $which yacc
> /usr/bin/yacc
> $which byacc
> /usr/bin/byacc
> $which bison
> /usr/bin/bison
>
> Kindly suggest what is to be done in this regard
>
> Thanks,
> Gopal
>
>
>
--
View this message in context: http://old.nabble.com/parser-error-tp27861799p27862254.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parser error
2010-03-11 10:38 parser error srinivas13.2
2010-03-11 11:28 ` Edit: " srinivas13.2
@ 2010-03-16 14:53 ` Ian Lance Taylor
1 sibling, 0 replies; 5+ messages in thread
From: Ian Lance Taylor @ 2010-03-16 14:53 UTC (permalink / raw)
To: srinivas13.2; +Cc: gcc-help
"srinivas13.2" <srinivas13.2@gmail.com> writes:
> Im trying to build gcc4.4.1 using eclipse.
> I successfully ran ./configure --disable-multilib and make from command
> line, and now when i try to builld it from eclipse i'am getting the
> following error:
Never run ./configure. Follow the installation instructions, which
tell you to run the configure script in a different directory.
> **** Build of configuration Debug for project MyGcc ****
>
> make all
> yacc ../intl/plural.y
> yacc: e - line 46 of "../intl/plural.y", syntax error
> %pure_parser
> ^
> make: *** [../intl/plural.c] Error 1
> [End of error]
>
> $which yacc
> /usr/bin/yacc
> $which byacc
> /usr/bin/byacc
> $which bison
> /usr/bin/bison
>
> Kindly suggest what is to be done in this regard
This normally should not happen. The sources include plural.c, which
should be newer than plural.y. The simple workaround is likely to be
to make sure that plural.c is unchanged from the sources, and then
"touch plural.c".
Ian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parser error
2008-04-15 12:22 Falay Oguz
@ 2008-04-16 3:10 ` Ian Lance Taylor
0 siblings, 0 replies; 5+ messages in thread
From: Ian Lance Taylor @ 2008-04-16 3:10 UTC (permalink / raw)
To: Falay Oguz; +Cc: gcc-help
"Falay Oguz" <oguz.falay@ocag.ch> writes:
> .text: <<<<--------- LINE 64
You want .text : -- that is, add a space before the colon.
':' is a valid character in a section name, so you need some
whitespace.
Ian
^ permalink raw reply [flat|nested] 5+ messages in thread
* parser error
@ 2008-04-15 12:22 Falay Oguz
2008-04-16 3:10 ` Ian Lance Taylor
0 siblings, 1 reply; 5+ messages in thread
From: Falay Oguz @ 2008-04-15 12:22 UTC (permalink / raw)
To: gcc-help
Hi,
I receive the following error:
------------------------------------------------------------------------------------------------------------------------------------
make main.elf
make[1]: Entering directory `/drive/c/Documents and Settings/czfal.ADSOCAGCH/ibm'
Linking application pkt_proc
powerpc-ibm-eabi-ld --print-map > map --script mapfile -o main.elf boot.o crt0.o eabi.o main.o
powerpc-ibm-eabi-ld:mapfile:64: parse error
make[1]: *** [main.elf] Error 1
make[1]: Leaving directory `/drive/c/Documents and Settings/czfal.ADSOCAGCH/ibm'
make: *** [main] Error 2
------------------------------------------------------------------------------------------------------------------------------------
The linker script looks like:
MEMORY
{
ddr : ORIGIN = 0x00000000, LENGTH = 32m
sram : ORIGIN = 0x10000000, LENGTH = 2m
flash : ORIGIN = 0xFE000000, LENGTH = 32m - 4
boot : ORIGIN = 0xFFFFFFFC, LENGTH = 4 }
ENTRY(_boot)
SECTIONS {
.text: <<<<--------- LINE 64
{
_text = . ;
*(.text)
_etext = . ;
} > flash
.data:
{
. = ALIGN(4);
_data = . ;
*(.data)
*(.COMMON);
_edata = . ;
. = ALIGN(4);
} > sram
.fdata:
{
*(.got2)
*(.rodata)
*(.fixup)
} > sram
.sdata:
{
*(.sdata)
} > sram
.sdata2 :
{
*(.sdata2)
} > sram
.sbss:
{
. = ALIGN(4);
*(.sbss)
. = ALIGN(4);
} > sram
__sbss_start = ADDR(.sbss);
__sbss_end = ADDR(.sbss) + SIZEOF(.sbss);
.bss:
{
. = ALIGN(4);
*(.bss)
. = ALIGN(4);
__bss_end_EA3 = .;
. = . + STACKSIZE;
. = ALIGN(16);
__stack = .;
} > sram
__bss_start = ADDR(.bss);
__bss_end = ADDR(.bss) + SIZEOF(.bss);
.boot:
{
*(.boot)
} > boot
}
--------------------------------------------------------------------------------------------------------------------------------------------------
an other compiler like powerpc-eabi can compile the same files. What can be the problem ?
---------------------------------------------------------------------------------------------------------------------------------------------------
The compiler with parser problem:
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-eabi/3.3.1/specs
Configured with: ../gcc-3.3.1/configure --target=powerpc-ibm-eabi --enable-languages=c,c++ --with-newlib --disable-nls --disable-multilib i686-ibm-cygwin Thread model: single gcc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RbockoKQOjB220GQ5G9srVdB/T+CSj3ARhEK3Z
M5uUgtamnGfYrUSnkllc8oyv6vjjYdRRsPZni+OrALVi0T5dlkKq/z5+W1YOJNED
dpp/I2mNHp+efaVhjz9Dkm2cIc8rrwADBQf3Tps6/vpsUJMCsEc+CwCr3/lCMJD+
m262bBtwM9BMNf+CVpAqsXEsAiywDYraw1Z5zGVEgXEbfzMzCNPgAjWPgTWPjaXM
v33GfuKv+io6a5C8u0I8qKicnbMDcCnRlNDQYEa3rwYX2aKSgt0gwPVu6pkMC3J3
VvqOZNwswPoxzVlL1d3hE8IOovRT8gNup27wRXV9BK4lGvhNBYnoy4rZjoGzxy53
W5umtNZAaWKsdBST5wxUQvmsNjRrf3SMNFq+bRqh91De64fH22jC9Ey3+KxCUlwm
6dlr5vTn+FTGVI29rAiw+nCtuCd9QO+3mKqAAHEaEeQg2iJI+kzmLTi2iE8EGBEC
AA8FAkcga1ACGwwFCQB2pwAACgkQkGjEffHBThfK/wCgma16WlpQbsCPJudqE1fH
masPC0EAn3xSxHIWSzghxzFEYLPyoPMPAGaX
=MT26
-----END PGP PUBLIC KEY BLOCK-----
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-03-16 14:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-11 10:38 parser error srinivas13.2
2010-03-11 11:28 ` Edit: " srinivas13.2
2010-03-16 14:53 ` Ian Lance Taylor
-- strict thread matches above, loose matches on Subject: below --
2008-04-15 12:22 Falay Oguz
2008-04-16 3:10 ` Ian Lance Taylor
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).