Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build problem on Solaris 11.3 #24

Open
paulfloyd opened this issue Dec 17, 2020 · 3 comments
Open

Build problem on Solaris 11.3 #24

paulfloyd opened this issue Dec 17, 2020 · 3 comments

Comments

@paulfloyd
Copy link

I encountered this issue when building GCC on Solaris.

For some reason, several of the string related functions like to_string and strtoull require that _GLIBCXX_USE_C99 be defined (at least going by the headers :

/usr/gcc/4.8/include/c++/4.8.2/bits/basic_string.h:#if ((__cplusplus >= 201103L) && defined(_GLIBCXX_USE_C99) \

)

@urnathan
Copy link
Owner

Well, that's annoying. Rainer Orth has reported success bootstrapping gcc on 11.3 (but with a patch he's working on). He didn't report this problem, so I wonder what is different.

@paulfloyd
Copy link
Author

paulfloyd commented Dec 17, 2020

I never bought a support package from Oracle. I'm using the "default" GCC, 4.8. More recent GCCs (and clang and the Oracle compiler) are also available (from the pkg install).

This is not a big issue, I don't use Solaris for anything serious these days - just some testing of Valgrind recently.

@paulfloyd
Copy link
Author

Hmm. The pkg system shows GCC 7.3 and clang 6.0 as being available, but it won't actually install them.

https://community.oracle.com/tech/apps-infra/discussion/4189748/installing-gcc-7-on-solaris-11-3

And I don't particularly want to buy another island for Larry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants