gecko-dev/python
Nathan Froyd d651932496 Bug 1435712 - make locating libstdc++ for the target/host smarter; r=nalexander
Depending on the compiler you use when --enable-stdcxx-compat, the
compiler can know about different libstdc++.so libraries that are not
suitable for your target.  This will manifest as an assertion in the
current libstdcxx.py file.  And then, when you change the assertion to
actually print out useful information, you will see things like:

/bin/ld: skipping incompatible /builds/worker/workspace/build/src/clang/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.4/../../../libstdc++.so when searching for -lstdc++
/bin/ld: skipping incompatible /builds/worker/workspace/build/src/clang/bin/../lib/libstdc++.so when searching for -lstdc++

which libstdcxx.py misinterprets as candidates for libstdc++.so.

This patch attempts to remedy both situations by providing a more
informative error message when things go sideways and also filtering out
error messages from the linker.  You could argue that perhaps
--enable-stdcxx-compat shouldn't be getting set for such builds, but
this change seems reasonable enough on its own.
2018-02-05 16:07:16 -05:00
..
devtools/migrate-l10n
l10n/fluent_migrations
mach Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00
mozboot Bug 1412006 - part 2 - add an --ndk-only option to mozboot/android.py; r=nalexander 2018-02-01 09:59:23 -05:00
mozbuild Bug 1435712 - make locating libstdc++ for the target/host smarter; r=nalexander 2018-02-05 16:07:16 -05:00
mozlint Bug 1433912 - [lint] Only run codespell linter on python/mozlint and tools/lint for now, r=sylvestre 2018-01-29 10:25:54 -05:00
mozterm Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00
mozversioncontrol
mach_commands.py Bug 1403012 - Fix TypeError when running python unittests via |mach test|, r=gbrown 2018-01-12 11:22:58 -05:00
moz.build Bug 1433974 - Update BUG_COMPONENT for some of the new Testing components, r=jmaher 2018-01-29 12:57:54 -05:00
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025