public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11
@ 2003-11-13 22:07 danglin at gcc dot gnu dot org
  2003-11-13 22:12 ` [Bug bootstrap/13042] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu dot org @ 2003-11-13 22:07 UTC (permalink / raw)
  To: gcc-bugs

lex  -o/xxx/gnu/gcc-3.3/objdir/gcc/treelang/lex.c ../../gcc/gcc/treelang/lex.l
"" line 0: warning 1: Unknown option o/xxx/gnu/gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option /xxx/gnu/gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option xxx/gnu/gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option xx/gnu/gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option x/gnu/gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option /gnu/gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option gnu/gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option u/gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option /gcc-3.3/objdir/gcc/treelang/lex.c
"" line 0: warning 1: Unknown option gcc-3.3/objdir/gcc/treelang/lex.c
"../../gcc/gcc/treelang/lex.l" line 85: warning 22: Executable statements should
 occur right after %%
"../../gcc/gcc/treelang/lex.l" line 91: warning 22: Executable statements should
 occur right after %%
"../../gcc/gcc/treelang/lex.l" line 96: warning 22: Executable statements should
 occur right after %%
"../../gcc/gcc/treelang/lex.l" line 101: warning 22: Executable statements shoul
d occur right after %%
"../../gcc/gcc/treelang/lex.l" line 106: warning 22: Executable statements shoul
d occur right after %%
"../../gcc/gcc/treelang/lex.l" line 111: warning 22: Executable statements shoul
...
"../../gcc/gcc/treelang/lex.l" line 212: warning 22: Executable statements shoul
d occur right after %%
"../../gcc/gcc/treelang/lex.l" line 287: error 50: output table overflow, try us
ing %o num

Possibly, flex should be used instead.

-- 
           Summary: Invalid lex option and lex error building treelang under
                    hpux11
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.00
  GCC host triplet: hppa2.0w-hp-hpux11.00
GCC target triplet: hppa2.0w-hp-hpux11.00


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


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

* [Bug bootstrap/13042] Invalid lex option and lex error building treelang under hpux11
  2003-11-13 22:07 [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11 danglin at gcc dot gnu dot org
@ 2003-11-13 22:12 ` pinskia at gcc dot gnu dot org
  2003-11-14 21:50 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-13 22:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-13 22:12 -------
What happens if you change $(LEX) in gcc/treelang/Make-lang.in to $(FLEX), does that work? 

-- 


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


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

* [Bug bootstrap/13042] Invalid lex option and lex error building treelang under hpux11
  2003-11-13 22:07 [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11 danglin at gcc dot gnu dot org
  2003-11-13 22:12 ` [Bug bootstrap/13042] " pinskia at gcc dot gnu dot org
@ 2003-11-14 21:50 ` dave at hiauly1 dot hia dot nrc dot ca
  2003-11-15  3:52 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2003-11-14 21:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2003-11-14 21:50 -------
Subject: Re:  Invalid lex option and lex error building t

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-13
> 22:12 -------
> What happens if you change $(LEX) in gcc/treelang/Make-lang.in to $(FLEX),
> does that work? 

Gets further:

...
stage1/xgcc -Bstage1/ -B/opt/gnu/hppa2.0w-hp-hpux11.00/bin/ -c   -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wmissing-prototypes -Wmissing-declarations -Werror -fno-common -Wno-error  -DHAVE_CONFIG_H    -I. -Itreelang -I../../gcc/gcc -I../../gcc/gcc/treelang -I../../gcc/gcc/../include  \
   /xxx/gnu/gcc-3.3/objdir/gcc/treelang/parse.c -o treelang/parse.o
make[2]: *** No rule to make target `-L/opt/gnu/hidden/lib', needed by `tree1'. 

It seems treelang/Make-lang.in has a dependency on various backend libraries:
# back end compiler libraries etc
TREE_BE_LIBS = $(BACKEND) $(LIBIBERTY) $(INTLIBS) $(LIBS) $(LIBDEPS)

and we have

# core compiler
tree1$(exeext): treelang/tree1.o treelang/treetree.o treelang/tree-convert.o \
	treelang/lex.o treelang/parse.o \
	$(TREE_BE_LIBS) attribs.o

The gcc Makefile includes LIBINTL in LIBS.  Configure set LIBINTL to:

# Internationalization library.
LIBINTL = /opt/gnu/lib/libintl.sl -L/opt/gnu/hidden/lib /opt/gnu/hidden/lib/libiconv.sl -lc -Wl,+b -Wl,/opt/gnu/hidden/lib

I'll try removing the dependency of tree1 on TREE_BE_LIBS.

Dave


-- 


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


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

* [Bug bootstrap/13042] Invalid lex option and lex error building treelang under hpux11
  2003-11-13 22:07 [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11 danglin at gcc dot gnu dot org
  2003-11-13 22:12 ` [Bug bootstrap/13042] " pinskia at gcc dot gnu dot org
  2003-11-14 21:50 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2003-11-15  3:52 ` pinskia at gcc dot gnu dot org
  2003-12-19 10:12 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-15  3:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-15 03:52 -------
confirmed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-15 03:52:30
               date|                            |
   Target Milestone|---                         |3.4


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


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

* [Bug bootstrap/13042] Invalid lex option and lex error building treelang under hpux11
  2003-11-13 22:07 [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11 danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-11-15  3:52 ` pinskia at gcc dot gnu dot org
@ 2003-12-19 10:12 ` pinskia at gcc dot gnu dot org
  2004-04-27  5:10 ` [Bug other/13042] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19 10:12 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.0                       |3.5.0


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


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

* [Bug other/13042] Invalid lex option and lex error building treelang under hpux11
  2003-11-13 22:07 [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11 danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-12-19 10:12 ` pinskia at gcc dot gnu dot org
@ 2004-04-27  5:10 ` pinskia at gcc dot gnu dot org
  2004-10-02 18:43 ` phython at gcc dot gnu dot org
  2005-06-04 16:53 ` [Bug treelang/13042] " pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-27  5:10 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |other
   Target Milestone|3.5.0                       |---


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


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

* [Bug other/13042] Invalid lex option and lex error building treelang under hpux11
  2003-11-13 22:07 [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11 danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-04-27  5:10 ` [Bug other/13042] " pinskia at gcc dot gnu dot org
@ 2004-10-02 18:43 ` phython at gcc dot gnu dot org
  2005-06-04 16:53 ` [Bug treelang/13042] " pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: phython at gcc dot gnu dot org @ 2004-10-02 18:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From phython at gcc dot gnu dot org  2004-10-02 18:43 -------
 I think this has been fixed at some point along the way.

-- 


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


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

* [Bug treelang/13042] Invalid lex option and lex error building treelang under hpux11
  2003-11-13 22:07 [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11 danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-10-02 18:43 ` phython at gcc dot gnu dot org
@ 2005-06-04 16:53 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-04 16:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-04 16:53 -------
Fixed for 4.0.0..

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2005-06-04 16:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 22:07 [Bug bootstrap/13042] New: Invalid lex option and lex error building treelang under hpux11 danglin at gcc dot gnu dot org
2003-11-13 22:12 ` [Bug bootstrap/13042] " pinskia at gcc dot gnu dot org
2003-11-14 21:50 ` dave at hiauly1 dot hia dot nrc dot ca
2003-11-15  3:52 ` pinskia at gcc dot gnu dot org
2003-12-19 10:12 ` pinskia at gcc dot gnu dot org
2004-04-27  5:10 ` [Bug other/13042] " pinskia at gcc dot gnu dot org
2004-10-02 18:43 ` phython at gcc dot gnu dot org
2005-06-04 16:53 ` [Bug treelang/13042] " pinskia at gcc dot gnu dot 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).