`<div dir="ltr">On Mon, Jan 16, 2017 at 8:17 AM, Rouven WEILER <span dir="ltr"><<a href="mailto:Rouven_Weiler@gmx.net" target="_blank">Rouven_Weiler@gmx.net</a>></span> wrote:<br><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"><div><div style="font-family:Verdana;font-size:12.0px"><div>Hi all,</div>
<div> </div>
<div>I want to compile something with gcc48 package in the omnios pkg repo.</div>
<div>Therefore it is necessary to use the PTHREAD_STACK_MIN type which is defined in the system's <limits.h>.</div>
<div>The problem: gcc uses it's own one which does not include this type.</div>
<div> </div>
<div>Can anybody help me how to get that working?</div>
<div>I have to admit I did not get any (for me) working info from the gcc web page.</div>
</div></div></blockquote></div><br></div><div class="gmail_extra">Generally, gcc's notion of "fixed" includes is thoroughly broken. Even toxic.<br></div><div class="gmail_extra">Whenever I build gcc myself these days I simply wipe out the erroneous files.<br><br></div><div class="gmail_extra">(Dan - any chance of removing the include-fixed files from the package?)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">So the following will help<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">rm -fr /opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/include-fixed<br clear="all"></div><div class="gmail_extra"><br></div><div class="gmail_extra">You may choose to alternatively move them out of the way, although 'pkg fix'<br></div><div class="gmail_extra">will put them back if you need them.<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-Peter Tribble<br><a href="http://www.petertribble.co.uk/" target="_blank">http://www.petertribble.co.uk/</a> - <a href="http://ptribble.blogspot.com/" target="_blank">http://ptribble.blogspot.com/</a></div>
</div></div>
`