[Bug target/46918] [h8300] libstdc++-v3 build failure by BFD's assertion failed.

2013-04-22 Thread mon...@monami-software.com


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



--- Comment #2 from Masaki MURANAKA  2013-04-22 
07:01:39 UTC ---

This issue is caused by same reason in #48231


[Bug c/46553] New: Can't compile libiberty for i386-elf target.

2010-11-18 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46553

   Summary: Can't compile libiberty for i386-elf target.
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: c
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: mon...@monami-software.com


I've been failed to make libiberty for i386-elf target from recent CVS HEAD.

The immediate cause is the patch by '2010-10-07  Andi Kleen
'.
In direct cause is, it provide no crt0.o but cygmon-crt0.o for i386 by
libgloss.


[Bug c/46553] Can't compile libiberty for i386-elf target.

2010-11-18 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46553

--- Comment #1 from Masaki MURANAKA  2010-11-19 
06:34:26 UTC ---
Created attachment 22450
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22450
patch


[Bug target/46586] New: Can't compile libiberty for bfin-elf target.

2010-11-21 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46586

   Summary: Can't compile libiberty for bfin-elf target.
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: mon...@monami-software.com
  Host: i386-apple-darwin10.5.0
Target: bfin-elf
 Build: i386-apple-darwin10.5.0


configuration was failed with this message.
configure:5724: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

This issue is not similar to #46553.

It is required -mcpu option by bfin-elf-gcc. But there is no case in
configuration phase.
So  the link test is failed with this message: "xgcc: error: no processor type
specified for linking"


[Bug target/46591] New: Can't build m68k-elf target on i386-apple-darwin

2010-11-21 Thread mon...@monami-software.com
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: unassig...@gcc.gnu.org
ReportedBy: mon...@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


[Bug target/46591] Can't build m68k-elf target on i386-apple-darwin

2010-11-21 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46591

--- Comment #1 from Masaki MURANAKA  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.


[Bug target/46878] New: V850 ICE in in maybe_add_or_update_dep_1, at sched-deps.c:854

2010-12-09 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46878

   Summary: V850 ICE in in maybe_add_or_update_dep_1, at
sched-deps.c:854
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: mon...@monami-software.com
  Host: i386-apple-darwin10.5.0
Target: v850-elf
 Build: i386-apple-darwin10.5.0


/Volumes/git/pf3gnuchains4x/newlib/libc/search/hash_bigkey.c:669:1: internal
compiler error: in maybe_add_or_update_dep_1, at sched-deps.c:854

The error message is avobe.

Attachment is the pre-processed source


[Bug target/46878] V850 ICE in in maybe_add_or_update_dep_1, at sched-deps.c:854

2010-12-09 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46878

--- Comment #1 from Masaki MURANAKA  2010-12-10 
00:52:55 UTC ---
Created attachment 22699
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22699
Pre-processed source.


[Bug target/46878] V850 ICE in in maybe_add_or_update_dep_1, at sched-deps.c:854

2010-12-09 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46878

--- Comment #2 from Masaki MURANAKA  2010-12-10 
01:47:35 UTC ---
Created attachment 22701
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22701
simplified source


Additional info : the result of xgcc is
gcc version 4.6.0 20101207 (experimental) (GCC)


[Bug target/46878] V850 ICE in in maybe_add_or_update_dep_1, at sched-deps.c:854

2010-12-09 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46878

--- Comment #3 from Masaki MURANAKA  2010-12-10 
02:35:53 UTC ---
This issue will depends  -m and -O option.

  cc1 -mv850 -O2 testcase-min6.i
  cc1 -mv850e1 -O2 testcase-min6.i
  cc1 -mv850e testcase-min6.i
  cc1 -mv850e2 testcase-min6.i
  cc1 -mv850e2v3 testcase-min6.i
wiil return with the normal exit.

  cc1 -mv850e -O2 testcase-min6.i
  cc1 -mv850e2 -O2 testcase-min6.i
  cc1 -mv850e2v3 -O2 testcase-min6.i
will return
  testcase-min6.i: In function ‘get_ice’:
  testcase-min6.i:21:1: internal compiler error: in maybe_add_or_update_dep_1,
at sched-deps.c:854
  Please submit a full bug report,


[Bug target/46878] V850 ICE in in maybe_add_or_update_dep_1, at sched-deps.c:854

2010-12-10 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46878

--- Comment #4 from Masaki MURANAKA  2010-12-10 
15:02:06 UTC ---
I succeeded to build.
I'm not sure if the patch follows is reasonable... yah, indeed quite ugly.

Does anyone fix this? please,

diff --git a/gcc/config/v850/v850.md b/gcc/config/v850/v850.md
index d488b8b..9c98106 100644
--- a/gcc/config/v850/v850.md
+++ b/gcc/config/v850/v850.md
@@ -955,6 +955,8 @@
   if (GET_CODE (operands[3]) != REG)
operands[3] = copy_to_mode_reg (SImode, operands[3]);
 }
+if (((enum rtx_code) (operands[0])->frame_related))
+   FAIL;
 }")


[Bug target/46891] New: Can't build libquadmath for i386-elf target

2010-12-10 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46891

   Summary: Can't build libquadmath for i386-elf target
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: mon...@monami-software.com
  Host: i386-elf
Target: i386-elf
 Build: i386-apple-darwin10.5.0


This issue is similar to #46553.


[Bug target/46891] Can't build libquadmath for i386-elf target

2010-12-10 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46891

--- Comment #1 from Masaki MURANAKA  2010-12-11 
04:27:40 UTC ---
Created attachment 22709
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22709
Add some options to CFLAGS in case building --with-newlib


[Bug c/46553] Can't compile libiberty for i386-elf target.

2010-12-10 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46553

Masaki MURANAKA  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME

--- Comment #2 from Masaki MURANAKA  2010-12-11 
04:43:23 UTC ---
This issue is fixed by Green  svn+ssh://gcc.gnu.org/svn/gcc/tr...@166996
So I close this as resolved.


[Bug target/46898] New: libgcc build failure on lm32-elf

2010-12-11 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46898

   Summary: libgcc build failure on lm32-elf
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: mon...@monami-software.com
  Host: lm32-pizzafactory-elf
 Build: i386-apple-darwin10.5.0


Created attachment 22718
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22718
testcase

cc1 -g conftest.c

conftest.c:1:0: internal compiler error: in dwarf2out_frame_init, at
dwarf2out.c:4260
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://sourceforge.jp/projects/pf3gnuchains/ticket/> for instructions.

cc1 -version
GNU C (GCC) version 4.6.0 20101207 (experimental) (lm32-elf)
compiled by GNU C version 4.2.1 (Apple Inc. build 5664), GMP version 4.2.4,
MPFR version 2.4.1, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096


[Bug target/46898] libgcc build failure on lm32-elf

2010-12-11 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46898

--- Comment #1 from Masaki MURANAKA  2010-12-12 
03:26:03 UTC ---
Created attachment 22719
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22719
Patch to config/lm32.[ch]  (incomplete)

This issue was discussed at gcc-patches ML on 2010-10-29 but not applied to
trunk.
The attached patch is modified to apply to gcc/tr...@167329.

We will get the another issue after applying this patch, but at least it will
fix the part of this issue.


[Bug target/46898] libgcc build failure on lm32-elf

2010-12-11 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46898

--- Comment #2 from Masaki MURANAKA  2010-12-12 
03:37:21 UTC ---
Created attachment 22720
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22720
testcase after applied attachment 22719

(In reply to comment #1)
> We will get the another issue after applying this patch, but at least it will
> fix the part of this issue.

The console out is follows:

$ ./cc1 testcase.i
 crash
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data>
Assembling functions:
 crashSegmentation fault


[Bug target/46918] New: [h8300] libstdc++-v3 build failure by BFD's assertion failed.

2010-12-12 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46918

   Summary: [h8300] libstdc++-v3 build failure by BFD's assertion
failed.
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: mon...@monami-software.com
  Host: h8300-pizzafactory-elf
Target: h8300-pizzafactory-elf
 Build: i386-apple-darwin10.5.0


Created attachment 22736
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22736
testcase.

simplified test case is testcase-min30.ii and assembled output is
testcase-min30.s

Error message is:
/var/folders/X9/X99UOZpEHISHgCFBMxBz1E+++TI/-Tmp-//ccFFmBj2.s:50412: Error:
value of 65536 too large for field of 2 bytes at 11817
/Volumes/USBDISK/darwin/h8300-pizzafactory-elf/build/i386/gcc/../gas/as-new:
BFD (GNU Binutils) 2.21.51.20101206 assertion fail
/Volumes/git/pf3gnuchains4x/bfd/elf.c:2816

testcase-min30s:50412 is:
.2byte  .Ldebug_info0+65536

So gas is not invalid.


[Bug target/46918] [h8300] libstdc++-v3 build failure by BFD's assertion failed.

2010-12-12 Thread mon...@monami-software.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46918

--- Comment #1 from Masaki MURANAKA  2010-12-13 
05:17:14 UTC ---
Created attachment 22737
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22737
assemble output.

The version of gcc is 4.6.0 20101207 (experimental) (GCC)