On Sat, May 19, 2018 at 09:10:26PM -0500, Norm Jacobs wrote:
>It looks like
>developer/gcc-7/patches/0008-sol2-enable-full-__cxa_atexit-support.patc
>h may need work for SPARC, particularly in libgcc/config.host. Without
>looking too far into it, I would guess that changing the diffs for
>libgcc/config.host in the patch to
[...]
>sparc*-*-solaris2.1[0-9]*)
> # Solaris 10+/SPARC lacks crt1.o and gcrt1.o.
> extra_parts="$extra_parts crt1.o gcrt1.o"
> +extra_parts="$extra_parts crtbeginS.o crtendS.o"
> ;;
> esac
>fi
>
>might resolve the issue, but I don't have a SPARC system setup to
>verify.
Yes, that seems to work. I put the file names all in one line. At
least, the compiler builds those missing files now:
$ find build -name 'crt*S.o' -ls
232206863 -rw-r--r-- 1 millsstaff2520 May 22 15:15
build/sparcv7/prev-sparc-sun-solaris2.11/libgcc/crtbeginS.o
232206882 -rw-r--r-- 1 millsstaff 692 May 22 15:15
build/sparcv7/prev-sparc-sun-solaris2.11/libgcc/crtendS.o
232202265 -rw-r--r-- 1 millsstaff3592 May 22 15:01
build/sparcv7/prev-sparc-sun-solaris2.11/sparcv9/libgcc/crtbeginS.o
232202282 -rw-r--r-- 1 millsstaff 952 May 22 15:01
build/sparcv7/prev-sparc-sun-solaris2.11/sparcv9/libgcc/crtendS.o
232202602 -rw-r--r-- 1 millsstaff 952 May 22 15:01
build/sparcv7/prev-gcc/sparcv9/crtendS.o
232202595 -rw-r--r-- 1 millsstaff3592 May 22 15:01
build/sparcv7/prev-gcc/sparcv9/crtbeginS.o
232207182 -rw-r--r-- 1 millsstaff 692 May 22 15:15
build/sparcv7/prev-gcc/crtendS.o
232207173 -rw-r--r-- 1 millsstaff2520 May 22 15:15
build/sparcv7/prev-gcc/crtbeginS.o
The build of gcc-7 gets past that point now, but stops later with a
segmentation fault. I assume that's unrelated to the earlier error.
--
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev