Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
Rob Lemley 618c2fead7 Bug 1730711 - Build and include RNP commandline tools with distribution. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D126030

--HG--
extra : amend_source : 4dd450b9d3c7982346c619bb4a8625ff03a1b4ca
2021-10-27 13:50:52 +03:00
Geoff Lankow 0e154d21c2 Backed out changeset dfd512c51382 (bug 1730711) for breaking the macOS build. 2021-10-26 11:43:08 +13:00
Rob Lemley dae22533f8 Bug 1730711 - Build and include RNP commandline tools with distribution. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D126030

Depends on D126029
2021-10-21 23:17:15 +00:00
Petr Sumbera b8a3ea8aa6 Bug 1728951 - [solaris] Build librnp and dependencies with -fPIC. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D124441

--HG--
extra : histedit_source : 66ce6faf7564b71920aa733c0da12095534988e2
2021-09-06 08:06:11 +00:00
Rob Lemley 4bdbbe1af9 Bug 1727014 - Build librnp.so Linux against libstdc++ in CI. r=darktrojan
Recent build changes for Firefox permit Thunderbird to drop
the libc++ dependency for official builds and link librnp.so
(Linux) against libstdc++, like the rest of the application.

This will reduce complexity of the build.

Depends on D123381 in mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D123305

--HG--
extra : moz-landing-system : lando
2021-08-25 19:51:49 +00:00
Rob Lemley 4645bfe034 Bug 1726433 - Fix Linux builds in CI. r=darktrojan
This is counter-intuitive and may be a problem later since librnp.so now links
to libc++ (statically) and to libstdc++ dynamically. In theory it's "ok"
since everything was compiled with libc++ headers via "-stdlib=libc++".
stdc++-compat.o gets linked in whether we want it or not when "MOZ_STDCXX_COMPAT"
is set, with no obvious way to override that behavior.

Differential Revision: https://phabricator.services.mozilla.com/D123297

--HG--
extra : moz-landing-system : lando
2021-08-22 22:54:09 +00:00
Geoff Lankow 6697b1b825 Backed out changeset 368233737dd1 (bug 1726433) to un-break the Windows build.
--HG--
extra : amend_source : 05af2324e29b33cccc31bcf1b7cc2fc7dd576726
extra : histedit_source : 973a58253e73e000b6e46ce6565591921d1667ab
2021-08-20 12:13:09 +12:00
Rob Lemley c61ff1df6a Bug 1726433 - Stop using config variables set for Firefox to determine how to build librnp. rs=bustage-fix
Differential Revision: https://phabricator.services.mozilla.com/D123164

--HG--
extra : amend_source : fc213010bd0ece9348c770aa5821a40efd4d5f80
2021-08-19 22:48:00 +00:00
Rob Lemley dc30a5c997 Bug 1725166 - Port bug 1724830 - Replace MOZ_LIBSTDCXX_TARGET_VERSION with MOZ_STDCXX_COMPAT. rs=bustage-fix
Differential Revision: https://phabricator.services.mozilla.com/D122352

--HG--
extra : amend_source : f46fb8edef079a258377f64de60128f046d295e2
2021-08-11 09:21:50 -04:00
Rob Lemley 82ef0b31c2 Bug 1710257 - Back out changeset 61ebefcbdd36 (bug 1699386) due to compiler warnings on Windows. r=backout a=rjl
-fPIC is not a valid argument for clang-cl.

--HG--
extra : histedit_source : 56a597c015d3cdb35ee4e22f22970ff69352c498
2021-05-12 09:00:27 -04:00
Rob Lemley ba60f3928f Bug 1710257 - [linux] Build librnp and dependencies with -fPIC. r=justdave
Differential Revision: https://phabricator.services.mozilla.com/D114688

--HG--
extra : amend_source : 2b101864829621658eb6aef440403a0080bfbfb7
2021-05-11 13:27:35 +03:00
geoff@darktrojan.net d49ab08e11 Bug 1699386 - add -fPIC in places that still need it, r=justdave
--HG--
extra : histedit_source : 889db3ac96dec22bd52f1825a90fce16a652e59f
2021-03-18 05:31:50 -04:00
Rob Lemley a125e2247f Bug 1694845 - Follow-up: Fix formatting. rs=mozlint DONTBUILD
--HG--
extra : histedit_source : 07ec6cfa040322759a312658156ff58536b0f15f
2021-03-03 11:50:55 -05:00
Rob Lemley 334297c3c2 Bug 1694845 - Set path to libc++ static library for linux64 builds. r=justdave
With the switch to a build sysroot, the linker is not able to locate libc++.a
and libc++abi.a on Linux64 builds (official builds with MOZ_STDCXX_COMPAT=1 only).
Adjust the path when linking librnp.so accordingly similarly to the Linux32
build.
This is not necessary for the Linux64-aarch64 build as it does not use libstdc++
compatibility mode.

Differential Revision: https://phabricator.services.mozilla.com/D106968

--HG--
extra : moz-landing-system : lando
2021-03-03 07:25:53 +00:00
Rob Lemley 72249a4e2f Bug 1672798 - Follow-up: Reformat mozbuild files with black. rs=linting 2020-11-06 15:29:43 -05:00
Rob Lemley c588762d6b Bug 1634209 - Build librnp on Linux statically linking to LLVM's libc++. r=kaie
Circumvents the problems with libstdc++ symbols problem by replacing it with
LLVM's libc++ only when building on Taskcluster. libc++abi is a required
companion library.
Since libc++ is not as ubiquitous as libstdc++ on Linux, it is statically linked.
The libc++ license permits this quite explicitly.
When librnp (and more precisely Botan) is compiled and linked this way, there are
no references to libstdc++ in the resulting librnp.so file.

Depends on D80223

Differential Revision: https://phabricator.services.mozilla.com/D80224

--HG--
extra : moz-landing-system : lando
2020-06-18 21:09:38 +00:00
Rob Lemley 356c6190f0 Bug 1632343 - Follow-up: Fix l10n repacks on Daily build. r=mkmelin rs=bustage-fix DONTBUILD
COMPILE_ENVIRONMENT will not be set for L10n repacks.

--HG--
extra : rebase_source : 6525c25a25e38a086159dd1e3d833bb3e970cdbe
extra : histedit_source : acfe09eb053910286ff89b37d7daf4c649cdebe2
2020-04-23 09:23:06 -04:00
Rob Lemley cf217614fb Bug 1632343 - Fix artifact builds when --enable-openpgp is set. r=darktrojan DONTBUILD
Compiler-based checks don't work when --enable-artifact-builds is set, so
those checks need to have a when=compile_environment condition.
Botan's configure script fails without a proper compiler and needs to be
disabled.
2020-04-23 13:50:10 +03:00
Rob Lemley 08e46c4f1f Bug 1621785 - Build configuration for OpenPGP libraries. r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D70758

--HG--
extra : moz-landing-system : lando
2020-04-14 22:29:22 +00:00