Commit Graph
38 Commits
Author SHA1 Message Date
Martin Storsjö a61af72ca9 Write some sort of msys2 build instructions 2019-06-28 23:31:17 +03:00
Martin Storsjö 60609f0716 Reorder the readme, mention prebuilt toolchains first 2019-06-28 00:15:44 +03:00
Martin Storsjö 0d4861fdd3 readme: Document the new implicit pdb output file naming 2019-05-28 00:04:39 +03:00
Martin Storsjö 666a26307d Revert "Mention the fact that binutils can't use the generated import libraries"
This reverts commit 9367988be7.

binutils actually can handle the short import format just fine.
It only has got issues with base mingw import libraries that contain
symbol aliases (which in llvm-dlltool is implemented via weak
symbols, and linking to weak symbols differ a bit between lld and
binutils ld).
2019-03-24 22:16:08 +02:00
Martin Storsjö 62b208aee2 Use llvm-objcopy/llvm-strip instead of a shell script wrapper and binutils 2019-01-24 10:58:20 +02:00
Martin Storsjö 7e0dbe79bf Stop building libcxx with LIBCXX_ABI_UNSTABLE=TRUE
This didn't seem to actually be necessary, not even in the initial
commit adding support for building a DLL of libcxx. It might have
been necessary at some earlier point while working on building a DLL.
2018-12-06 00:49:25 +02:00
Martin Storsjö 9367988be7 Mention the fact that binutils can't use the generated import libraries 2018-11-03 14:26:21 +02:00
Martin Storsjö a999e54760 Mention prebuilt binaries in the readme 2018-10-17 23:34:13 +03:00
Martin Storsjö fc88912646 Mention ubsan in the readme 2018-10-17 22:45:54 +03:00
Martin Storsjö 6ead0a46b3 Add a known issue about the fact that sanitizers only are supported on x86 2018-10-17 22:45:54 +03:00
Martin Storsjö b9543f23b9 Mention the lack of llvm-objcopy for COFF as a known issue in the readme 2018-10-09 11:40:26 +03:00
Martin Storsjö 2a3cdc9115 Update the description of the project's status
The level of maturity is generally quite a bit higher now than when
this initially was written.
2018-10-09 11:40:03 +03:00
Martin Storsjö a914746ab2 Remove the mention of other similar projects
The mentioned differences aren't quite as pronounced any longer.
2018-10-09 11:35:16 +03:00
Martin Storsjö 7f98eea889 Mention prebuilt docker images from Docker Hub 2018-10-02 21:34:54 +03:00
Martin Storsjö a38e52fff5 Build address sanitizer 2018-10-02 14:53:53 +03:00
Martin Storsjö cea63c570a Update llvm/clang/lld to the latest version
This version allows clang to use address sanitizer for mingw,
adds support for linking against import libraries from GNU tools
and makes the linker provide the __CTOR_LIST__ symbol for better
compatibility with binutils based sysroots, and adds support for
thunks for armv7 (allowing linking armv7 binaries over 16 MB).
2018-10-02 14:53:53 +03:00
Martin Storsjö c8ca4bddd6 Add known issues about the fact that the toolchain by default targets Vista or newer 2018-09-05 13:39:28 +03:00
Martin Storsjö 28dc4e3589 Remove known issues about a shared libc++ and automatic data imports 2018-09-05 12:28:33 +03:00
Martin Storsjö c0246e97db readme: Escape an asterisk 2018-09-05 11:55:12 +03:00
Martin Storsjö d25e4d5be7 Remove a known issue with debugging x86_64 binaries
With SEH in use now, this is no longer an issue.
2018-08-08 08:43:05 +03:00
Martin Storsjö af4e0b0021 readme: Remove the issue about libunwind vs WinRT
libwinstorecompat now provides a reimplementation of EnumProcessModules,
making libunwind compatible with WinRT.
2018-07-16 23:30:54 +03:00
Martin Storsjö b73785af3b Fix a typo in the readme about PDB output 2018-06-02 23:03:42 +03:00
Martin Storsjö 1c73ae0fd1 Mention PDB support in the readme 2018-05-21 14:39:00 +03:00
Martin Storsjö ecdb6647b7 windres: Remove the rc filtering in the wrapper shell script
llvm-rc does this filtering internally now.
2018-05-11 09:48:07 +03:00
Martin Storsjö decfd0030b Update README.md about using llvm-rc instead of GNU binutils windres 2018-05-07 09:44:41 +03:00
Martin Storsjö e2c1dcac2b Mention strip-llvm.sh in the readme 2018-04-02 16:40:21 +03:00
Martin Storsjö 9557db98f9 Remove a few unnecessary sentences of the readme 2018-04-02 16:40:21 +03:00
Martin Storsjö e835141ce2 Tweak the wording in the readme 2018-04-02 16:40:21 +03:00
Martin Storsjö 53be941850 Mention a few more known issues 2018-01-23 11:22:48 +02:00
Martin Storsjö 583baaa612 Make windres output in res format instead of in coff
This makes the output architecture independent, allowing
the x86_64 GNU binutils binary to be used for other
architectures as well, including arm/arm64 which aren't supported
by binutils.
2018-01-10 10:53:02 +02:00
Martin Storsjö 55e8aef024 Provide <triplet>-<tool> wrappers and links to many llvm tools
Provide wrappers named <triplet>-gcc and <triplet>-g++ as well,
to ease cross compilation with e.g. autotools, to allow just
specifying --host=<triplet>.

Provide wrappers for objdump and ld that provide specific output
that autotools look for.

Provide <triplet>-strip as a symlink to /bin/true, since there is
no strip tool available yet (and llvm-objcopy doesn't support
COFF yet).
2018-01-10 10:53:02 +02:00
Martin Storsjö e56a519fdc Split the building of the toolchain into individual shellscripts
This simplifies building the toolchain outside of docker.
2018-01-10 10:24:48 +02:00
Martin Storsjö 4fc70f4a23 Add --sysroot to the compiler invocation
This makes sure the right sysroot is used, even if e.g. a global
system installation of x86_64-w64-mingw32-gcc exists under /usr.
2018-01-09 21:38:42 +02:00
Martin Storsjö 89afcc42f6 Clarify other branches with content of value 2017-12-20 11:43:08 +02:00
Martin Storsjö 634ae81950 Pass -femulated-tls to the compiler by default
The MinGW CRT wrapping has a few minor issues that makes native
TLS fail at the moment.

LLVM doesn't support native TLS on windows/aarch64, but emulated
TLS is supported now.
2017-12-04 13:49:32 +02:00
Martin Storsjö 03f1fd6c65 Use dwarf exceptions on armv7 and aarch64
Dwarf is also the default in clang on i686, but libunwind currently
has an issue relating to unwinding dwarf exceptions on i686 on
windows (and less easily reproducible on other platforms),
see https://reviews.llvm.org/D38680.

This enables exceptions on aarch64, where they previously were
avoided/disabled.

When linking to a statically linked libunwind with support for
dwarf, one (currently) has to link in -lpsapi.
2017-11-28 18:06:46 +02:00
Martin Storsjö a30166a84f Restructure the readme wrt the use of docker 2017-11-28 16:19:03 +02:00
Martin Storsjö 8e2d3e2c2b Add an initial readme for github 2017-11-28 15:26:53 +02:00