public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/44749]  New: mep-elf fails to build
@ 2010-07-01 15:17 amylaar at gcc dot gnu dot org
  2010-07-05 19:54 ` [Bug target/44749] " amylaar at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-07-01 15:17 UTC (permalink / raw)
  To: gcc-bugs

mep-elf fails to build:

gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-
Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-
pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wo
ld-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE
-
I. -Ibuild -I../../../gcc/gcc -I../../../gcc/gcc/build
-I../../../gcc/gcc/../inc
lude -I../../../gcc/gcc/../libcpp/include  -I../../../gcc/gcc/../libdecnumber
-I
../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  -DCLOOG_PPL_BACKEND 
-I/
usr/include/libelf  \
                -o build/genflags.o ../../../gcc/gcc/genflags.c
In file included from ../../../gcc/gcc/genflags.c:27:
./tm.h:5:29: error: insn-constants.h: No such file or directory
make[1]: *** [build/genflags.o] Error 1


-- 
           Summary: mep-elf fails to build
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
GCC target triplet: mep-elf


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


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

* [Bug target/44749] mep-elf fails to build
  2010-07-01 15:17 [Bug target/44749] New: mep-elf fails to build amylaar at gcc dot gnu dot org
@ 2010-07-05 19:54 ` amylaar at gcc dot gnu dot org
  2010-09-13 22:25 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2010-07-05 19:54 UTC (permalink / raw)
  To: gcc-bugs



-- 

amylaar at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-05 19:54:13
               date|                            |


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


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

* [Bug target/44749] mep-elf fails to build
  2010-07-01 15:17 [Bug target/44749] New: mep-elf fails to build amylaar at gcc dot gnu dot org
  2010-07-05 19:54 ` [Bug target/44749] " amylaar at gcc dot gnu dot org
@ 2010-09-13 22:25 ` jsm28 at gcc dot gnu dot org
  2010-09-13 22:28 ` jsm28 at gcc dot gnu dot org
  2010-09-14  7:27 ` dj at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2010-09-13 22:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jsm28 at gcc dot gnu dot org  2010-09-13 22:25 -------
Subject: Bug 44749

Author: jsm28
Date: Mon Sep 13 22:25:09 2010
New Revision: 164260

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164260
Log:
        PR target/44749
        * config/mep/t-mep (GTM_H): Add insn-constants.h.
        * config/mep/mep.c (mep_conditional_register_usage): Take no
        parameters.
        * config/mep/mep-protos.h (mep_conditional_register_usage): Update
        prototype.
        * config/mep/mep-pragma.c (CONDITIONAL_REGISTER_USAGE): Update
        call to mep_conditional_register_usage.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mep/mep-protos.h
    trunk/gcc/config/mep/mep.c
    trunk/gcc/config/mep/mep.h
    trunk/gcc/config/mep/t-mep


-- 


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


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

* [Bug target/44749] mep-elf fails to build
  2010-07-01 15:17 [Bug target/44749] New: mep-elf fails to build amylaar at gcc dot gnu dot org
  2010-07-05 19:54 ` [Bug target/44749] " amylaar at gcc dot gnu dot org
  2010-09-13 22:25 ` jsm28 at gcc dot gnu dot org
@ 2010-09-13 22:28 ` jsm28 at gcc dot gnu dot org
  2010-09-14  7:27 ` dj at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2010-09-13 22:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jsm28 at gcc dot gnu dot org  2010-09-13 22:27 -------
Note that while my commit fixes two causes of build failure for this target,
a third cause of failure is still present.  As I noted in my patch submission
http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00664.html

* mep-pragma.c gets a series of errors starting with

  rtl.h:22:9: error: attempt to use poisoned "GCC_RTL_H"

  because it is being treated as a front-end file but uses rtl.h and
  uses various RTL-related functionality.  I don't know the right fix
  for this issue - for my testing I worked around it with "#undef
  IN_GCC_FRONTEND" but the right fix is more likely to be moving the
  RTL functionality into mep.c while keeping the code using front-end
  pragma interfaces in mep-pragma.c.  Thus, this patch does not fix
  this issue.


-- 


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


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

* [Bug target/44749] mep-elf fails to build
  2010-07-01 15:17 [Bug target/44749] New: mep-elf fails to build amylaar at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-09-13 22:28 ` jsm28 at gcc dot gnu dot org
@ 2010-09-14  7:27 ` dj at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dj at gcc dot gnu dot org @ 2010-09-14  7:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dj at gcc dot gnu dot org  2010-09-14 07:27 -------
Subject: Bug 44749

Author: dj
Date: Tue Sep 14 07:26:54 2010
New Revision: 164268

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164268
Log:
PR target/44749
* config/mep/mep-protos.h (mep_save_register_info,
mep_reinit_regs, mep_init_regs): Declare.

* config/mep/mep.c: Move all target definitions to the end of the
file to avoid the need for duplicate declarations.
(mep_save_register_info, mep_reinit_regs, mep_init_regs): New.
(mep_reorg_erepeat): Remove unused variables.
(mep_expand_builtin): Likewise.

* config/mep/mep-pragma.c: Don't include rtl.h.
(INVALID_REGNUM): New.
(mep_pragma_coprocessor_which): Call mep-specific rtl-layer bridge
functions.
(mep_pragma_coprocessor_subclass): Rename "class" to "rclass".
Avoid enum/integer math.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mep/mep-pragma.c
    trunk/gcc/config/mep/mep-protos.h
    trunk/gcc/config/mep/mep.c


-- 


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


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

end of thread, other threads:[~2010-09-14  7:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-01 15:17 [Bug target/44749] New: mep-elf fails to build amylaar at gcc dot gnu dot org
2010-07-05 19:54 ` [Bug target/44749] " amylaar at gcc dot gnu dot org
2010-09-13 22:25 ` jsm28 at gcc dot gnu dot org
2010-09-13 22:28 ` jsm28 at gcc dot gnu dot org
2010-09-14  7:27 ` dj 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).