[MacPorts] #32639: arm-none-linux-gnueabi-gcc dies with segfault

MacPorts noreply at macports.org
Thu Dec 22 23:27:01 PST 2011


#32639: arm-none-linux-gnueabi-gcc dies with segfault
------------------------------+---------------------------------------------
 Reporter:  job@…             |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  2.0.3                                
 Keywords:                    |        Port:  arm-none-linux-gnueabi-gcc           
------------------------------+---------------------------------------------
 I got past first problem by editing some of the .y files.  But then the
 next problem stuck me.

 {{{

 Mac OS X Lion 10.7.2 (11C74)
 MacBook Air, 13-inch, Mid 2011, 1.8 GHz Intel Core i7, 4 GB 1333 MHz DDR3
 Xcode:  4.1 (516)


 Round 1:

 Problem:
         c-parse.y:1650.19-20: $$ for the midrule at $4 of `structsp_attr'
 has no declared type
         c-parse.y:1661.19-20: $$ for the midrule at $4 of `structsp_attr'
 has no declared type
         c-parse.y:1670.19-20: $$ for the midrule at $4 of `structsp_attr'
 has no declared type
         c-parse.y:1675.19-20: $$ for the midrule at $3 of `structsp_attr'
 has no declared type

         objc/objc-parse.y:1702.19-20: $$ for the midrule at $4 of
 `structsp_attr' has no declared type
         objc/objc-parse.y:1713.19-20: $$ for the midrule at $4 of
 `structsp_attr' has no declared type
         objc/objc-parse.y:1722.19-20: $$ for the midrule at $4 of
 `structsp_attr' has no declared type
         objc/objc-parse.y:1727.19-20: $$ for the midrule at $3 of
 `structsp_attr' has no declared type

 Fix:
         Added <ttype> to each of those lines between the $$.



 Round 2:

 Problems:

 :info:build /opt/local/arm-none-linux-gnueabi/sys-include/bits/stdio.h: In
 function `getchar_unlocked':
 :info:build /opt/local/arm-none-linux-gnueabi/sys-include/bits/stdio.h:59:
 internal compiler error: Segmentation fault: 11
 :info:build Please submit a full bug report,
 :info:build with preprocessed source if appropriate.
 :info:build Send email to arm-gnu at codesourcery.com for instructions.
 :info:build /opt/local/arm-none-linux-gnueabi/sys-include/bits/stdio.h:59:
 internal compiler error: Segmentation fault: 11
 :info:build Please submit a full bug report,
 :info:build with preprocessed source if appropriate.
 :info:build Send email to arm-gnu at codesourcery.com for instructions.
 :info:build In file included from /opt/local/arm-none-linux-gnueabi/sys-
 include/stdio.h:828,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
 linux-gnueabi-gcc/work/gcc-2005q3/gcc/tsystem.h:79,
 :info:build                  from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-
 linux-gnueabi-gcc/work/gcc-2005q3/gcc/crtstuff.c:64:
 :info:build /opt/local/arm-none-linux-gnueabi/sys-include/bits/stdio.h: In
 function `getchar_unlocked':
 :info:build /opt/local/arm-none-linux-gnueabi/sys-include/bits/stdio.h:59:
 internal compiler error: Segmentation fault: 11
 :info:build Please submit a full bug report,
 :info:build with preprocessed source if appropriate.
 :info:build Send email to arm-gnu at codesourcery.com for instructions.

 }}}



 Got stuck at this point.  I'll try to take a look at it and see what the
 problem is, but if someone who is familiar with this can look at it that
 would be great.

 Attached are my installed ports and the full log.

-- 
Ticket URL: <https://trac.macports.org/ticket/32639>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list