Of course he would have had trouble, enough that he felt like he had to go. But this was a personal issue between him and his colleagues. Comparing it into company-wide discrimination is not helpful. You're comparing a matter of policy (company-wide discrimination) with a matter of personal politics (can't work with this guy because we don't agree with him, plus he's using my added value as a way to attack my way of life).
The end results are the same but the mechanism isn't. Could his colleagues have been more accommodating of his views ? Maybe. But they didn't. That's a personal problem that comes from a large cultural clash.
> But this was a personal issue between him and his colleagues.
No it wasn't "personal issue". There was no personal issues with Eich, no evidence of anybody having personal beef with him - either because of sexual orientation issues or any other - was ever documented. It was a purely political issue, namely - political pressure to punish Eich for holding a particular viewpoint, completely unrelated to his job performance.
> Comparing it into company-wide discrimination is not helpful.
There was neither wide nor narrow discrimination. There wasn't any. Discrimination was not the issue. Thoughtcrime on Eich's part was.
> can't work with this guy because we don't agree with him
If you can't work with people that disagree with you, you should work as a lighthouse watcher, ranger in a remote mountainous region, hermit or another profession that puts you out of contact with people. People should not have to lose jobs because you disagree with them.
> Could his colleagues have been more accommodating of his views ? Maybe.
Nobody asked his colleagues to be "accommodating" to anything. The only thing was to have minimum decency to not throw out a person because he committed a thoughtcrime. That proved to high a bar for Mozilla. Thus they organization will now have to live with infamy of what they did. It takes years to build trust, it takes one case like this to destroy it.
> That's a personal problem that comes from a large cultural clash.
There was no "clash". Eich did not "clash" with anybody. There was a campaign of personal destruction, which run him out of the job, and which in eyes of many - including me - branded Mozilla as organization which is cowardly, disloyal to their loyal workers, and easily manipulated by hate mobs.