public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46591] New: Can't build m68k-elf target on i386-apple-darwin
@ 2010-11-21 13:55 monaka@monami-software.com
  2010-11-21 14:35 ` [Bug target/46591] " monaka@monami-software.com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: monaka@monami-software.com @ 2010-11-21 13:55 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Can't build m68k-elf target on i386-apple-darwin
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: monaka@monami-software.com
              Host: i386-apple-darwin10.5.0
            Target: m68k-pizzafactory-elf
             Build: i386-apple-darwin10.5.0


gcc -arch i386  -I/Volumes/git/pf3gnuchains4x/libcpp -I.
-I/Volumes/git/pf3gnuchains4x/libcpp/../include -I./../intl
-I/Volumes/git/pf3gnuchains4x/libcpp/include  -g -O2 -W -Wall -Wwrite-strings
-Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wc++-compat -pedantic -Wno-long-long 
-I/Volumes/git/pf3gnuchains4x/libcpp -I.
-I/Volumes/git/pf3gnuchains4x/libcpp/../include -I./../intl
-I/Volumes/git/pf3gnuchains4x/libcpp/include  -c -o charset.o -MT charset.o
-MMD -MP -MF .deps/charset.Tpo /Volumes/git/pf3gnuchains4x/libcpp/charset.c
In file included from /Volumes/git/pf3gnuchains4x/libcpp/system.h:30,
                 from /Volumes/git/pf3gnuchains4x/libcpp/charset.c:22:
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h:152: error: two or more
data types in declaration specifiers
make[1]: *** [charset.o] Error 1
make: *** [all-libcpp] Error 2


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

* [Bug target/46591] Can't build m68k-elf target on i386-apple-darwin
  2010-11-21 13:55 [Bug target/46591] New: Can't build m68k-elf target on i386-apple-darwin monaka@monami-software.com
@ 2010-11-21 14:35 ` monaka@monami-software.com
  2010-12-18 13:38 ` [Bug c/46591] " schwab@linux-m68k.org
  2013-12-19 16:36 ` [Bug preprocessor/46591] " dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: monaka@monami-software.com @ 2010-11-21 14:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Masaki MURANAKA <monaka@monami-software.com> 2010-11-21 13:55:45 UTC ---
At least AC_HEADER_STDC should be checked before AC_CHECK_TYPE(ptrdiff_t, int)
in libcpp/configure.ac.
Because it is defined ptrdiff_t in stddef.h on OSX environment, and stddef.h is
not included unless STDC_HEADERS not defined.

I tried to build with fix based on above and I seems to got correct binaries
with no error.

But... I can't explain why there is no issue under another targets. So I don't
attach patches.

Any comments and patches are appreciated.


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

* [Bug c/46591] Can't build m68k-elf target on i386-apple-darwin
  2010-11-21 13:55 [Bug target/46591] New: Can't build m68k-elf target on i386-apple-darwin monaka@monami-software.com
  2010-11-21 14:35 ` [Bug target/46591] " monaka@monami-software.com
@ 2010-12-18 13:38 ` schwab@linux-m68k.org
  2013-12-19 16:36 ` [Bug preprocessor/46591] " dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2010-12-18 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |c

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2010-12-18 13:37:59 UTC ---
Nothing to do with m68k.


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

* [Bug preprocessor/46591] Can't build m68k-elf target on i386-apple-darwin
  2010-11-21 13:55 [Bug target/46591] New: Can't build m68k-elf target on i386-apple-darwin monaka@monami-software.com
  2010-11-21 14:35 ` [Bug target/46591] " monaka@monami-software.com
  2010-12-18 13:38 ` [Bug c/46591] " schwab@linux-m68k.org
@ 2013-12-19 16:36 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-12-19 16:36 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
No feedback three years later closing as WONTFIX.


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

end of thread, other threads:[~2013-12-19 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-21 13:55 [Bug target/46591] New: Can't build m68k-elf target on i386-apple-darwin monaka@monami-software.com
2010-11-21 14:35 ` [Bug target/46591] " monaka@monami-software.com
2010-12-18 13:38 ` [Bug c/46591] " schwab@linux-m68k.org
2013-12-19 16:36 ` [Bug preprocessor/46591] " dominiq at lps dot ens.fr

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