[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28205 [Obfuscation/Snowflake]: linking against other libwebrtc binaries errors out on missing symbols
#28205: linking against other libwebrtc binaries errors out on missing symbols
-----------------------------------+---------------------------
Reporter: eighthave | Owner: eighthave
Type: defect | Status: accepted
Priority: Medium | Milestone:
Component: Obfuscation/Snowflake | Version:
Severity: Major | Resolution:
Keywords: android | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------------+---------------------------
Comment (by dcf):
Replying to [comment:31 eighthave]:
> I renamed `package main` to `package snowflakeclient` since ''gomobile''
didn't want to work with the ''main'' package. That's a hack we've used
in all the Go PTs in Orbot. I guess it is causing trouble here, is there
some special meaning to `package main`?
I'm looking at this
[https://github.com/golang/mobile/blob/master/example/basic/main.go
gomobile sample application] and it uses `package main`, so I guess the
renaming is necessary because of something in Orbot. But that seems
unrelated to any error message you've posted.
Yes, [https://golang.org/ref/spec#Program_execution main has special
meaning], it's the package that gets run when you execute the program.
Changing the package of sub-programs from `main` makes sense when you want
to combine them into one meta-program, which you may be doing to avoid
having duplicate copies of the runtime, like in #13770.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28205#comment:33>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs