<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
It looks like
developer/gcc-7/patches/0008-sol2-enable-full-__cxa_atexit-support.patch
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
<blockquote>
<pre>--- gcc-7.3.0/libgcc/config.host.~1~ Mon Jan 8 05:39:11 2018
+++ gcc-7.3.0/libgcc/config.host Sat May 19 12:48:01 2018
@@ -270,7 +270,7 @@
*-*-solaris2*)
# Unless linker support and dl_iterate_phdr are present,
# unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c.
- tmake_file="$tmake_file sol2/t-sol2 t-eh-dw2-dip t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-elf-ver"
+ tmake_file="$tmake_file sol2/t-sol2 t-eh-dw2-dip t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-elf-ver t-crtstuff-pic"
if test $with_gnu_ld = yes; then
tmake_file="$tmake_file t-slibgcc-gld"
else
@@ -290,10 +290,12 @@
i?86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
# Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
# part of the base system.
+ extra_parts="$extra_parts crtbeginS.o crtendS.o"
;;
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
</pre>
</blockquote>
<p>might resolve the issue, but I don't have a SPARC system setup to
verify.<br>
</p>
<p> -Norm<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/19/2018 08:08 PM, Richard Lowe
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAA7J0x9Uf7AtEpMFFYSFbtxZK3SdyYVub1t=3nU0w1kteoB+Xg@mail.gmail.com">
<div dir="ltr">I would not be surprised, if enabling crt*S is
still an illumos patch, if that patch was not somehow wrong. I
don't have a SPARC to actually check it.</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sat, May 19, 2018 at 6:22 PM Aurélien Larcher
<<a href="mailto:aurelien.larcher@gmail.com"
moz-do-not-send="true">aurelien.larcher@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Sun, May 20, 2018 at 12:19 AM,
Gary Mills <span dir="ltr"><<a
href="mailto:gary_mills@fastmail.fm" target="_blank"
moz-do-not-send="true">gary_mills@fastmail.fm</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On
Sat, May 19, 2018 at 10:47:05PM +0200, Aurélien
Larcher wrote:<br>
> <br>
> Are you sure there is no crtbeginS.o at all
in the directory?<br>
<br>
</span>Quite sure:<br>
<br>
$ find build -name 'crt*.o' -ls<br>
22700589 2 -rw-r--r-- 1 mills staff
1416 May 19 10:40 build/sparcv7/gcc/sparcv9/crt1.o<br>
22700587 4 -rw-r--r-- 1 mills staff
3232 May 19 10:40 build/sparcv7/gcc/sparcv9/crtbegin.o<br>
22700588 2 -rw-r--r-- 1 mills staff
952 May 19 10:40 build/sparcv7/gcc/sparcv9/crtend.o<br>
22700591 5 -rw-r--r-- 1 mills staff
3928 May 19 10:40
build/sparcv7/gcc/sparcv9/crtfastmath.o<br>
22700584 5 -rw-r--r-- 1 mills staff
3928 May 19 10:40
build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc/crtfastmath.o<br>
22700578 2 -rw-r--r-- 1 mills staff
952 May 19 10:40
build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc/crtend.o<br>
22700576 4 -rw-r--r-- 1 mills staff
3232 May 19 10:40
build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc/crtbegin.o<br>
22700580 2 -rw-r--r-- 1 mills staff
1416 May 19 10:40
build/sparcv7/sparc-sun-solaris2.11/sparcv9/libgcc/crt1.o<br>
<span><br>
> Should they not be created already from
stage-1?<br>
<br>
</span>That's what I expected.<br>
<span><br>
> You should be able to set the ld path to
them using boot-ldflags.<br>
<br>
</span>They don't exist anywhere on the system.<br>
<span><br>
> Also I do not remember if multilib is
considered as a native build. If<br>
> not, you may need to --enable-bootstrap
explicitly.<br>
<br>
</span>Okay, thanks.<br>
</blockquote>
<div><br>
</div>
</div>
</div>
</div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Sorry, my memory is a bit shaky on these topics...
:S<br>
<br>
</div>
</div>
</div>
</div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="m_-137340468129176135im
m_-137340468129176135HOEnZb"><br>
-- <br>
-Gary Mills- -refurb-
-Winnipeg, Manitoba, Canada-<br>
<br>
</span>
<div class="m_-137340468129176135HOEnZb">
<div class="m_-137340468129176135h5">_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org"
target="_blank" moz-do-not-send="true">oi-dev@openindiana.org</a><br>
<a
href="https://openindiana.org/mailman/listinfo/oi-dev"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://openindiana.org/mailman/listinfo/oi-dev</a><br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<div dir="ltr">
<div class="gmail_extra"><br>
-- <br>
<div class="m_-137340468129176135gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><font style="font-family:courier
new,monospace" size="1">---<br>
Praise the Caffeine embeddings<br>
</font></div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank"
moz-do-not-send="true">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://openindiana.org/mailman/listinfo/oi-dev</a></blockquote>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<p dir="ltr">-- Rich</p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
oi-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a>
<a class="moz-txt-link-freetext" href="https://openindiana.org/mailman/listinfo/oi-dev">https://openindiana.org/mailman/listinfo/oi-dev</a></pre>
</blockquote>
<br>
</body>
</html>