Building with Solaris Studio #93

Open
opened 2026-01-29 20:33:04 +00:00 by claunia · 0 comments
Owner

Originally created by @jeroen on GitHub (Feb 29, 2016).

Two issues Solaris 10 with Solaris Studio 12.3:

Full build log below.

/opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG     -DBROTLI_BUILD_PORTABLE -include config.h -KPIC  -xlibmieee  -c dec/bit_reader.c -o dec/bit_reader.o
/opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG     -DBROTLI_BUILD_PORTABLE -include config.h -KPIC  -xlibmieee  -c dec/decode.c -o dec/decode.o
"dec/decode.c", line 1251: warning: statement not reached
/opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG     -DBROTLI_BUILD_PORTABLE -include config.h -KPIC  -xlibmieee  -c dec/dictionary.c -o dec/dictionary.o
/opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG     -DBROTLI_BUILD_PORTABLE -include config.h -KPIC  -xlibmieee  -c dec/huffman.c -o dec/huffman.o
/opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG     -DBROTLI_BUILD_PORTABLE -include config.h -KPIC  -xlibmieee  -c dec/state.c -o dec/state.o
ar rcs libdec.a dec/bit_reader.o dec/decode.o dec/dictionary.o dec/huffman.o dec/state.o
/opt/SunProd/studio12u3/solarisstudio12.3/bin/CC -m64 -I/usr/lib/64/R/include -DNDEBUG      -KPIC  -g  -c enc/backward_references.cc -o enc/backward_references.o
"enc/./././transform.h", line 203: Error: Could not find a match for std::string::basic_string(const unsigned char*, const unsigned char*) needed in brotli::TransformWord(brotli::WordTransformType, const unsigned char*, unsigned long).
"enc/./././transform.h", line 211: Error: Could not find a match for std::string::basic_string(const unsigned char*, const unsigned char*) needed in brotli::TransformWord(brotli::WordTransformType, const unsigned char*, unsigned long).
"enc/./././transform.h", line 214: Error: Could not find a match for std::string::basic_string(const unsigned char*, const unsigned char*) needed in brotli::TransformWord(brotli::WordTransformType, const unsigned char*, unsigned long).
"enc/././hash.h", line 750: Error: ")" expected instead of "data".
"enc/././hash.h", line 755: Error: ) is not defined.
"enc/././hash.h", line 706: Error: The function "StoreAndFindMatches" must have a prototype.
"enc/././hash.h", line 733: Error: The function "StoreAndFindMatches" must have a prototype.
"enc/././hash.h", line 179: Error: ) is not defined.
"enc/././hash.h", line 868:     Where: While specializing "brotli::HashLongestMatchQuickly<brotli::kBucketBits, brotli::kBucketSweep, brotli::kUseDictionary>".
"enc/././hash.h", line 868:     Where: Specialized in non-template code.
"enc/././hash.h", line 392: Error: ) is not defined.
"enc/././hash.h", line 871:     Where: While specializing "brotli::HashLongestMatch<brotli::kBucketBits, brotli::kBlockBits, brotli::kNumLastDistancesToCheck>".
"enc/././hash.h", line 871:     Where: Specialized in non-template code.
"enc/././hash.h", line 170: Error: ")" expected instead of "ring_buffer".
"enc/././hash.h", line 882:     Where: While specializing "brotli::HashLongestMatchQuickly<16, 1, 1>".
"enc/././hash.h", line 882:     Where: Specialized in non-template code.
"enc/././hash.h", line 179: Error: ) is not defined.
"enc/././hash.h", line 882:     Where: While specializing "brotli::HashLongestMatchQuickly<16, 1, 1>".
"enc/././hash.h", line 882:     Where: Specialized in non-template code.
"enc/././hash.h", line 170: Error: ")" expected instead of "ring_buffer".

[[much more]]
Originally created by @jeroen on GitHub (Feb 29, 2016). Two issues Solaris 10 with Solaris Studio 12.3: - missing `basic_string` see: http://www.oracle.com/technetwork/server-storage/solaris/cmp-stlport-libcstd-142559.html - missing `__restrict`, see https://lists.gnu.org/archive/html/bug-autoconf/2009-01/msg00060.html Full build log below. ``` /opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG -DBROTLI_BUILD_PORTABLE -include config.h -KPIC -xlibmieee -c dec/bit_reader.c -o dec/bit_reader.o /opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG -DBROTLI_BUILD_PORTABLE -include config.h -KPIC -xlibmieee -c dec/decode.c -o dec/decode.o "dec/decode.c", line 1251: warning: statement not reached /opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG -DBROTLI_BUILD_PORTABLE -include config.h -KPIC -xlibmieee -c dec/dictionary.c -o dec/dictionary.o /opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG -DBROTLI_BUILD_PORTABLE -include config.h -KPIC -xlibmieee -c dec/huffman.c -o dec/huffman.o /opt/SunProd/studio12u3/solarisstudio12.3/bin/cc -xc99 -m64 -I/usr/lib/64/R/include -DNDEBUG -DBROTLI_BUILD_PORTABLE -include config.h -KPIC -xlibmieee -c dec/state.c -o dec/state.o ar rcs libdec.a dec/bit_reader.o dec/decode.o dec/dictionary.o dec/huffman.o dec/state.o /opt/SunProd/studio12u3/solarisstudio12.3/bin/CC -m64 -I/usr/lib/64/R/include -DNDEBUG -KPIC -g -c enc/backward_references.cc -o enc/backward_references.o "enc/./././transform.h", line 203: Error: Could not find a match for std::string::basic_string(const unsigned char*, const unsigned char*) needed in brotli::TransformWord(brotli::WordTransformType, const unsigned char*, unsigned long). "enc/./././transform.h", line 211: Error: Could not find a match for std::string::basic_string(const unsigned char*, const unsigned char*) needed in brotli::TransformWord(brotli::WordTransformType, const unsigned char*, unsigned long). "enc/./././transform.h", line 214: Error: Could not find a match for std::string::basic_string(const unsigned char*, const unsigned char*) needed in brotli::TransformWord(brotli::WordTransformType, const unsigned char*, unsigned long). "enc/././hash.h", line 750: Error: ")" expected instead of "data". "enc/././hash.h", line 755: Error: ) is not defined. "enc/././hash.h", line 706: Error: The function "StoreAndFindMatches" must have a prototype. "enc/././hash.h", line 733: Error: The function "StoreAndFindMatches" must have a prototype. "enc/././hash.h", line 179: Error: ) is not defined. "enc/././hash.h", line 868: Where: While specializing "brotli::HashLongestMatchQuickly<brotli::kBucketBits, brotli::kBucketSweep, brotli::kUseDictionary>". "enc/././hash.h", line 868: Where: Specialized in non-template code. "enc/././hash.h", line 392: Error: ) is not defined. "enc/././hash.h", line 871: Where: While specializing "brotli::HashLongestMatch<brotli::kBucketBits, brotli::kBlockBits, brotli::kNumLastDistancesToCheck>". "enc/././hash.h", line 871: Where: Specialized in non-template code. "enc/././hash.h", line 170: Error: ")" expected instead of "ring_buffer". "enc/././hash.h", line 882: Where: While specializing "brotli::HashLongestMatchQuickly<16, 1, 1>". "enc/././hash.h", line 882: Where: Specialized in non-template code. "enc/././hash.h", line 179: Error: ) is not defined. "enc/././hash.h", line 882: Where: While specializing "brotli::HashLongestMatchQuickly<16, 1, 1>". "enc/././hash.h", line 882: Where: Specialized in non-template code. "enc/././hash.h", line 170: Error: ")" expected instead of "ring_buffer". [[much more]] ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#93