diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-09-23 11:38:26 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-09-24 15:23:02 +1300 |
commit | 334f6d6479096b20e80fd39e35f404319bc251b5 (patch) | |
tree | f3a064cd460849b3c03ac89a6c1323f4e109b9cd /samples | |
parent | c175b21ce470a07875a5db86f21439f02f93df0e (diff) | |
download | crosstool-ng-334f6d6479096b20e80fd39e35f404319bc251b5.tar.gz crosstool-ng-334f6d6479096b20e80fd39e35f404319bc251b5.tar.bz2 crosstool-ng-334f6d6479096b20e80fd39e35f404319bc251b5.zip |
moxiebox: Use newlib 4.2crosstool-ng-1.26.0
moxie-unknown-moxiebox has problems building with newlib 4.3
ld: /lib/libc.a(libc_a-closer.o): in function `_close_r':
newlib/libc/reent/closer.c:47: undefined reference to `_close'
There are some Makefile changes in newlib 4.3 and it's likely previously
this config was picking up `_close` from libsim.a. For now just pin the
newlib version back to 4.2 in the moxie-unknown-moxiebox config.
Resolves #2036
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/moxie-unknown-moxiebox/crosstool.config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/moxie-unknown-moxiebox/crosstool.config b/samples/moxie-unknown-moxiebox/crosstool.config index fe08882d..755e4d83 100644 --- a/samples/moxie-unknown-moxiebox/crosstool.config +++ b/samples/moxie-unknown-moxiebox/crosstool.config @@ -2,6 +2,7 @@ CT_CONFIG_VERSION="4" CT_EXPERIMENTAL=y CT_ARCH_MOXIE=y CT_ARCH_LE=y +CT_NEWLIB_V_4_2=y CT_DEBUG_GDB=y CT_GDB_CROSS_SIM=y # CT_GDB_CROSS_PYTHON is not set |