Commit Graph

44 Commits

Author SHA1 Message Date
phessler
f91ab3be24 use USE_NOEXECONLY and disable jump tables so these gcc derivatives build 2023-01-15 14:06:51 +00:00
sthen
f54fe6a8e2 sync WANTLIB 2022-03-31 16:10:29 +00:00
naddy
85229c97e7 drop RCS Ids 2022-03-11 18:49:30 +00:00
jsg
5bd3a6a6c2 build devel/arm-none-eabi/gcc-linaro with --without-isl
prompted by atf failing to build in bulk from missing libisl.so.0.0
2021-11-29 05:46:24 +00:00
cwen
f6851a1109 arm-none-eabi/gcc-linaro: remove BROKEN-powerpc, the two flavors
build fine there
2021-05-19 08:39:16 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
jsg
fc2e9929d4 update arm-none-eabi-gdb to 7.12.1 matching devel/gdb
backport a arm specific -fno-common fix
[ARM, sim] Fix build error and warnings
851c0536cabb661847c45c73ebd796eb3299066b
2021-02-10 00:41:23 +00:00
kettenis
accf041505 update arm-none-eabi binutils to 2.31.1
fixes a linker issue with some u-boot targets
2021-01-31 11:26:40 +00:00
jasper
65bb927769 fix building the various gcc crosscompilers on powerpc64 by redefining vec_step as clang
already defines this symbol itself.
this approach was discussed with upstream gcc by, and patch copied from, freeBSD
2021-01-09 21:41:15 +00:00
sthen
8012ed6dd3 de-conflict gdb and arm-none-eabi-gdb. the conflicting files are
include/gdb/jit-reader.h
share/gdb/system-gdbinit/elinos.py
share/gdb/system-gdbinit/wrs-linux.py

these are not needed in most cases, and near identical between gdb and
arm-none-eabi-gdb (only difference is the copyright date), so having just
one copy is good enough.

remove old libbfd @conflict from gdb/pkg/PLIST while there (the libbfd
port was removed in 2011) noticed by solene@.

prompted by a suggestion from solene@ to remove the gdb dependency from
gnustep/projectcenter, looks fine to her.
2020-12-09 21:41:43 +00:00
jsg
c6ed81d511 update arm-none-eabi binutils to 2.30
adds support for Cortex-M33
initial patch from Dave Vandervies with plist changes added
2020-10-06 05:53:05 +00:00
sthen
6d15ca9821 Set "BROKEN-arm" for some of the slower-to-build ports that fail late on
armv7, this should save around 40h overall build time, and makes it more
visible to anyone working on the port that they are indeed broken on the
arch.  OK phessler@ naddy@

Of note because the port is important to the architecture and
self-hosted builds are a good thing: building u-boot on armv7 fails
with an Internal Compiler Error (SIGBUS) in lib/time.c, it would be
particularly nice if someone has an idea how to fix this!
2020-05-07 14:24:53 +00:00
jsg
9b157db63d update gcc-linaro to 7.4-2019.02
With U-Boot 2019.10-rc4 the am335x_evm SPL no longer fits when building
with gcc 6.3 but does fit with 7.4.

Tested by and ok kurt@
2019-09-28 00:29:11 +00:00
sthen
e8a3ed4a98 Some ports using gnulib previously detected a broken realpath and switched to an
internal replacement function. Following the changes to make realpath(3) use the
__realpath() syscall these no longer detect broken realpath i.e. produce different
code. Bump REVISION to ensure that users get the new version.
2019-07-16 21:29:41 +00:00
sthen
485792605b replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 21:02:12 +00:00
sthen
e40f996745 another batch of ncurses->curses WANTLIB updates, skipping any
that have gettext LIB/RUN_DEPENDS to avoid conflicts for naddy's
multipackaging work
2019-05-20 20:52:31 +00:00
naddy
305d688b62 fix warning and future error about unescaped left brace in perl regex 2019-04-16 15:35:30 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
jsg
d68c5c7d98 remove BROKEN for armv7 and i386 gcc-linaro now builds fine
reported by Gregory Czerniak and reproduced locally on both archs
2018-09-23 08:32:03 +00:00
kettenis
b2adb8c3c0 Make this build on arm64/aarch64 as well.
ok jca@
2018-05-15 11:32:01 +00:00
jsg
20fd668657 Add the same backported gcc patch bentley@ added to xtensa-elf-gcc to
fix the build with clang 6.0.
2018-04-10 07:52:32 +00:00
jca
d3e817c8b9 BROKEN on powerpc
libgcc/libgcc2.c:1999:1: internal compiler error: in create_edge, at cgraph.c:850

  http://build-failures.rhaalovely.net//powerpc/2017-11-13/devel/arm-none-eabi/gcc-linaro.log
2017-11-29 11:58:44 +00:00
naddy
8f99c5dbdb Fixes for clang:
Add -fbracket-depth=512 because the preprocessed source exceeds the suggested
implementation limit of 256 for nesting levels of parenthesized expressions
within a full-expression as given in Annex B of the C++ standard.

Add a missing <sys/select.h> that previously must have been pulled in by
another header.
2017-08-02 22:57:59 +00:00
kettenis
41ed7510a2 Add fix to build ATF (ARM Trusted Firmware).
ok patrick@, sthen@, jsg@, bmercer@
2017-08-02 11:40:40 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
c114d7057b add pthread to COMPILER_LIBCXX.
white lie, but it allows clang and gcc to be more similar
bump accordingly.
2017-07-23 09:26:25 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
kettenis
b793f08193 Update to binutils 2.27.
ok patrick@, bmercer@, jsg@, sthen@
2017-07-16 12:44:19 +00:00
schwarze
32b5a29cc2 no relevant formatting differences, drop USE_GROFF
and bump those three of the four pacakges that change
2017-06-02 23:17:07 +00:00
sthen
0ee0bf44ee mark BROKEN-i386, BROKEN-armv7 for now. 2017-05-26 08:09:59 +00:00
patrick
e0e78b9deb Fixup and remove duplicate addition of a patch. 2017-05-09 05:58:36 +00:00
patrick
de0c5dc10a Update to gcc-linaro-6.3-2017.02 so that we can continue to build
newer U-Boots whose SPL object files get too big to link.  U-Boot
will require gcc 6.0 or later for ARM starting with v2018.01.

ok jsg@
2017-05-08 09:04:54 +00:00
sthen
7b9fdbb2c9 use LIBCXX 2017-04-10 11:45:22 +00:00
espie
7878cccef2 license file ? fine. Just make sure it's in a specific dir so ports don't
conflict
2017-04-06 10:24:25 +00:00
jca
c46df0b610 Don't hardcode CC to /usr/bin/gcc in the port Makefile 2017-02-28 07:02:15 +00:00
patrick
3822fc0d1a Missed bump, found by naddy. 2016-12-07 17:28:27 +00:00
patrick
51d680aacf +arm-none-eabi/binutils,aarch64
+arm-none-eabi/gcc-linaro,aarch64
2016-12-06 17:25:29 +00:00
patrick
cfd897d6f4 Split devel/arm-none-eabi into two FLAVORs so that we can use the same
port to compile gcc and binutils targeted for either ARM or AArch64.

ok zhuk@ sthen@
2016-12-06 17:24:02 +00:00
naddy
7d2c1043dc do not pick up guile2 2016-09-23 10:52:18 +00:00
jsg
7a290c8220 Update to gcc-linaro-4.9-2016.02 and add a patch from FreeBSD ports to
allow this to build on arm.
2016-08-25 02:39:06 +00:00
sthen
a626ee54a0 sync WANTLIB 2015-08-12 22:27:31 +00:00
bmercer
db183db417 Fix the arm-none-eabi/newlib build. Diff from Dave Vandervies, OK naddy@ 2015-07-15 15:38:41 +00:00
espie
bdcf3f3717 conflicts 2015-06-10 10:55:10 +00:00
bmercer
47917c02f1 Import devel/arm-none-eabi. OK sthen@, port is from Dave Vandervies. 2015-05-28 23:28:25 +00:00