public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47099] New: i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined
@ 2010-12-29  2:24 amylaar at gcc dot gnu.org
  2012-03-06  0:27 ` [Bug target/47099] " amylaar at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2010-12-29  2:24 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: i686-pc-msdosdjgpp fails to build i386.o:
                    ASM_DECLARE_FUNCTION_NAME undefined
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amylaar@gcc.gnu.org
            Blocks: 47093
              Host: x86_64-pc-linux-gnu
            Target: i686-pc-msdosdjgpp


../../../gcc/gcc/config/i386/i386.c: In function ‘ix86_code_end’:
../../../gcc/gc/config/i386/i386.c:8655:4: error: implicit declaration of
function ‘ASM_DECLARE_FUNCTION_NAME’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors

make[2]: *** [i386.o] Error 1


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

* [Bug target/47099] i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined
  2010-12-29  2:24 [Bug target/47099] New: i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined amylaar at gcc dot gnu.org
@ 2012-03-06  0:27 ` amylaar at gcc dot gnu.org
  2012-09-21 15:41 ` amylaar at gcc dot gnu.org
  2012-09-22  8:48 ` andris.pavenis at iki dot fi
  2 siblings, 0 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-03-06  0:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2012-03-06 00:26:53 UTC ---
As of revision 184927, i686-pc-msdosdjgpp still fails;
i686-interix3 - configured with --enable-obsolete - succeeds building cc1.


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

* [Bug target/47099] i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined
  2010-12-29  2:24 [Bug target/47099] New: i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined amylaar at gcc dot gnu.org
  2012-03-06  0:27 ` [Bug target/47099] " amylaar at gcc dot gnu.org
@ 2012-09-21 15:41 ` amylaar at gcc dot gnu.org
  2012-09-22  8:48 ` andris.pavenis at iki dot fi
  2 siblings, 0 replies; 4+ messages in thread
From: amylaar at gcc dot gnu.org @ 2012-09-21 15:41 UTC (permalink / raw)
  To: gcc-bugs


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

Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2012-03-06 00:00:00         |2012-09-17
            Version|4.6.0                       |4.8.0

--- Comment #2 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> 2012-09-21 15:41:29 UTC ---
The error now looks like this:

g++ -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-fno-common  -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/.
-I../../../gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include 
-I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber    \
        ../../../gcc/gcc/config/i386/i386.c -o i386.o
../../../gcc/gcc/config/i386/i386.c: In function ‘void ix86_code_end()’:
../../../gcc/gcc/config/i386/i386.c:8855:55: error: ‘ASM_DECLARE_FUNCTION_NAME’
was not declared in this scope
    ASM_DECLARE_FUNCTION_NAME (asm_out_file, name, decl);
                                                       ^
make[2]: *** [i386.o] Error 1


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

* [Bug target/47099] i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined
  2010-12-29  2:24 [Bug target/47099] New: i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined amylaar at gcc dot gnu.org
  2012-03-06  0:27 ` [Bug target/47099] " amylaar at gcc dot gnu.org
  2012-09-21 15:41 ` amylaar at gcc dot gnu.org
@ 2012-09-22  8:48 ` andris.pavenis at iki dot fi
  2 siblings, 0 replies; 4+ messages in thread
From: andris.pavenis at iki dot fi @ 2012-09-22  8:48 UTC (permalink / raw)
  To: gcc-bugs


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

Andris Pavenis <andris.pavenis at iki dot fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andris.pavenis at iki dot
                   |                            |fi

--- Comment #3 from Andris Pavenis <andris.pavenis at iki dot fi> 2012-09-22 08:47:25 UTC ---
(In reply to comment #2)
> ../../../gcc/gcc/config/i386/i386.c: In function ‘void ix86_code_end()’:
> ../../../gcc/gcc/config/i386/i386.c:8855:55: error: ‘ASM_DECLARE_FUNCTION_NAME’
> was not declared in this scope
>     ASM_DECLARE_FUNCTION_NAME (asm_out_file, name, decl);
>                                                        ^
> make[2]: *** [i386.o] Error 1

Adding lines like

#undef ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)                     \
  do {                                                                  \
    ASM_OUTPUT_FUNCTION_LABEL (FILE, NAME, DECL);                       \
  } while (0)

to gcc/config/i386/djgpp.h should fix that for DJGPP target


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

end of thread, other threads:[~2012-09-22  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-29  2:24 [Bug target/47099] New: i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined amylaar at gcc dot gnu.org
2012-03-06  0:27 ` [Bug target/47099] " amylaar at gcc dot gnu.org
2012-09-21 15:41 ` amylaar at gcc dot gnu.org
2012-09-22  8:48 ` andris.pavenis at iki dot fi

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).