-
jhjGreetings - using illumos "strip" mangles Golang compiles binaries so they no longer run. Current Solaris 11.4 strip is OK, as is GNU strip.
-
rmustaccjhj: Thanks for the report. Is this tied to a particular golang version?
-
hadflthere is an issue for it #15091 (fenix)
-
fenixBUG 15091: strip(1) rips go binaries apart (New)
-
fenix
-
rmustaccOh, thanks hadfl.
-
rmustaccThat seems not great. We should probably take a fresh look at figuring out what would be needed to fix that.
-
richloweI don't remember the details, but it seemed like a moving target last I looked at it
-
richloweunfortunately, the implementation of strip(1) and mcs(1) is not enjoyable, either.
-
richloweI think actually the last time I looked, the things that caused strip(1) to wreak havoc were pointed outt by `elfdump foo > /dev/null`
-
richlowein general, if elfdump doesn't like you, fix that first.