[gofrontend-dev] Re: Go patch committed: Improve name mangling for package paths

Bernhard Reutner-Fischer rep.dot.nop@gmail.com
Fri Oct 26 19:16:00 GMT 2018


On 26 October 2018 18:13:32 CEST, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
>Hi Than,
>
>> OK, thanks again. Another fix sent:
>>
>>  https://go-review.googlesource.com/c/gofrontend/+/145021
>
>great, thanks again.  While the two previous patches were enough to get
>decent Solaris 11 results, on Solaris 10 all libgo tests still FAIL
>like
>this:
>
>_testmain.go:9:25: error: reference to undefined identifier
>'tar.TestReaderntar'
>9 |  {"TestFileWriter",
>tar.TestReaderntar.TestPartialReadntar.TestUninitializedReadntar.TestReadTruncationntar.TestReadHeaderOnlyntar.TestMergePAXntar.TestParsePAXntar.TestReadOldGNUSparseMapntar.TestReadGNUSparsePAXHeadersntar.TestFileReaderntar.TestFitsInBase256ntar.TestParseNumericntar.TestFormatNumericntar.TestFitsInOctalntar.TestParsePAXTimentar.TestFormatPAXTimentar.TestParsePAXRecordntar.TestFormatPAXRecordntar.TestSparseEntriesntar.TestFileInfoHeaderntar.TestFileInfoHeaderDirntar.TestFileInfoHeaderSymlinkntar.TestRoundTripntar.TestHeaderRoundTripntar.TestHeaderAllowedFormatsntar.TestWriterntar.TestPaxntar.TestPaxSymlinkntar.TestPaxNonAsciintar.TestPaxXattrsntar.TestPaxHeadersSortedntar.TestUSTARLongNamentar.TestValidTypeflagWithPAXHeaderntar.TestWriterErrorsntar.TestSplitUSTARPathntar.TestIssue12594ntar.TestFileWriter},
>      |                         ^
>FAIL: archive/tar
>
>This is due to gotest (symtogo):
>
>  echo "$result" | sed -e 's/ /\n/g'
>
>which even Solaris 11.5 Beta /bin/sed treats like this:
>
>$ echo 'a b' | /bin/sed -e 's/ /\n/g'
>anb

Just curious if either 
   | sed -e "s/ /\n/g"
or
  |  tr " " "\n"

would work.

thanks,



More information about the Gcc-patches mailing list