1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00
Commit Graph

111 Commits

Author SHA1 Message Date
drahn
07ac6f4c57 riscv64 is a LP64_ARCH, list it as such. 2021-05-03 00:04:31 +00:00
visa
bfc185c1fc Retire OpenBSD/sgi.
OK deraadt@
2021-05-01 16:10:29 +00:00
patrick
505714c5ca Update compiler-rt path in cross-build infrastructure. 2020-08-14 16:55:07 +00:00
drahn
9539e45e6e Initial set of changes to build powerpc64 toolchain.
Disable PIC/PIE for powerpc64 for now.
2020-05-30 19:22:00 +00:00
mpi
ff0d21e8bc Simplify by getting rid of the unecessary 'depend' rule.
ok patrick@
2019-11-07 11:32:23 +00:00
visa
59dd7aeb25 Add mips64el to LP64_ARCH.
OK patrick@
2019-10-18 02:57:25 +00:00
patrick
670fdd2976 Re-sort the if-sequence which sets COMPILER_VERSION to be the same
as bsd.own.mk, otherwise on transitioning architectures the wrong
compiler is chosen.  Also make sure BUILD_CLANG is forced for the
libcompiler_rt directory since cross-compiling with two possible
compilers would create too much headache.
2019-10-14 15:23:44 +00:00
patrick
d0a39609b5 Fix whitespace issues 2019-10-14 14:38:06 +00:00
patrick
b79c11a7e7 powerpc cross-compilation on 64-bit hosts also appears to be safe. 2019-10-14 14:36:49 +00:00
patrick
dd8b647fad Pass LINKER_VERSION to binutils and clang cross-build so that they
know who the system linker is.
2019-10-14 14:32:26 +00:00
patrick
859e995609 Fix malformed conditional after socppc removal.
From Krystian Lewandowski
2019-05-22 02:31:44 +00:00
deraadt
b3006189ba socppc makes an extended visit to the bigbucket.
ok kettenis
2019-05-11 07:18:14 +00:00
patrick
55669736a7 Don't assume that we use LLVM's ld(1) if we use clang(1) as main system
compiler.  Only handle this case when LLD was actually installed during
the cross-compiler setup.  Unbreaks armv7 after switching to clang since
it uses binutils' ld(1).
2018-02-04 21:11:32 +00:00
patrick
47dea8430e Compile the cross-compiler in the target's objdir instead of polluting
the host's.  This also allows compiling multiple toolchains in parallel.
Clean up the clang object files afterwards so it doesn't collide with
the cross-compiled compiler build.
2017-09-23 12:35:52 +00:00
mpi
c51441d01c Fix cross-compiling GCC toolchains on Clang archs.
ok patrick@
2017-09-12 08:16:13 +00:00
drahn
090d236b18 Fix cross builds: no clang depend target, no DESTDIR on HOSTCC build
ok patrick@
2017-08-11 19:36:37 +00:00
patrick
aa5482b536 Pass CC and CXX to make depend as well. As soon as we support
dependencies in the clang makefiles we need to make sure to use
a compiler that supports C++11.
2017-06-08 18:33:08 +00:00
patrick
2870cfeb16 Adjust cross-toolchain environment to the changes in the clang build
fabric.  Since we now also build and use LLVM's lld we can copy lld to
the proper directory akin to what we do with clang.  Build compiler-rt
early as it is needed for building libc.

"go for it" mpi@
2017-05-23 14:57:30 +00:00
patrick
e7c1bd461f Export CROSSDIR so that the two users (ld.so and binutils) of that
variable actually work correctly.  While there, adjust a bit for
consistency.

"nobody will complain if you break it ;)" kettenis@
2017-03-21 10:41:33 +00:00
jsg
e649b8453e We can now build parts of binutils on aarch64 so enable cross-binutils
again.

ok patrick@
2017-01-27 13:38:40 +00:00
patrick
bca9c49612 Adjust cross-compilation infrastructure to cope with builduser
permission requirements.

From Dale Rahn.

ok tb@
"commit it" guenther@
2017-01-20 05:00:53 +00:00
patrick
05c6891f2b With clang as cross-compiler we need to tell it where our cross
directory is so that the correct include and library paths are used.
For this we create a simple wrapper that calls clang in the correct
mode and also passes the sysroot.

ok kettenis@
2017-01-04 17:26:02 +00:00
patrick
b6216f0261 Implement support for cross-compiling arm64 in Makefile.cross. This
adds code to build clang as cross-compiler instead of gcc.  Since we
don't have binutils for aarch64 in base, skip the binutils cross-
toolchain build for that architecture.

ok kettenis@
2016-12-18 17:03:08 +00:00
sthen
2b5055b02e Unhook sqlite3. 2016-09-23 09:18:05 +00:00
guenther
d864fd983f Retire zaurus, as it hasn't made the EABI jump and will be permanently broken
shortly when we use the hardware thread register in userland
2016-09-03 13:37:39 +00:00
deraadt
34e3d8fb4c armish handled some early-gen arm machines, which required tons of
workarounds.  Some of them will soon stand in the way of armv7.
Off to the attic you go.
2016-08-10 14:27:15 +00:00
deraadt
0f52757250 remove hppa64 port, which we never got going beyond broken single users.
hppa reverse-stack gives us a valuable test case, but most developers don't
have a 2nd one to proceed further with this.
ok kettenis
2016-05-11 21:52:48 +00:00
deraadt
696cd27b24 We are done providing support for the vax.
lots of agreement.
2016-03-09 16:28:44 +00:00
tobiasu
bba3d88c5e Restore parenthesis 2015-12-08 16:04:41 +00:00
deraadt
48dafc2138 Send solbourne to where the ........... 2015-12-01 08:13:29 +00:00
deraadt
2ddcd48a2c Send Aviion to same place as Nova II
discussed with jsg
2015-12-01 07:50:02 +00:00
deraadt
e9ff445ba1 libocurses can go to the Attic. last consumer of it was ramdisk more(1)
conceptual ok guenther millert nicm
2015-11-14 23:56:48 +00:00
uebayasi
2603967914 Always honor ${DESTDIR}. OK miod@ 2015-11-10 03:10:53 +00:00
tobiasu
917534cf1d Use target BSDOBJDIR when cross-compiling libraries
ok mpi@
2015-06-05 21:48:35 +00:00
miod
448f2cefb7 Now that we do not need to build binutils 2.15 (except for gdb), simplify the
build logic.
2015-06-01 17:36:17 +00:00
miod
f4f679e553 Invert the binutils 2.17 logic to only list non-2.17 platforms. 2015-05-28 18:23:11 +00:00
uebayasi
c8df337ca6 Fix cross-build. OK jsing@ miod@ guenther@ deraadt@ 2015-02-08 00:15:22 +00:00
lteo
d392a36df8 Remove the last gzsig tendril 2014-10-09 03:40:12 +00:00
deraadt
b9442fa6d0 more NO_CROSS 2014-08-24 20:04:10 +00:00
deraadt
4e52c8e4c2 lynx will go to ports. there are too many reasons for it to go there,
and not enough for it to stay.  lengthy discussions.
2014-07-16 01:23:39 +00:00
miod
0016d6829e Make sure to override PIE_DEFAULT when building a cross-gcc4 2014-05-09 20:14:18 +00:00
ajacoutot
adf22013be Remove more Kerberos cruft.
ok jca@ jmc@
2014-04-23 18:24:23 +00:00
miod
fbe7d4c033 Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping
this hardware alive is becoming increasingly difficult, and I should heed the
message sent by the three disks which have died on me over the last few days.

Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-03-18 22:36:27 +00:00
patrick
690eea29f3 Beagle has been replaced by armv7. 2013-09-04 14:43:27 +00:00
miod
88919d8294 Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.
2013-08-06 19:11:53 +00:00
miod
59279296c5 tabs got lost in previous rev 2013-07-06 17:52:57 +00:00
miod
6231a781d0 ELF_TOOLCHAIN bye bye. 2013-07-05 21:29:51 +00:00
jasper
7c8a8fa12b remove BIN{MODE,GRP,OWN} since bsd.own.mk is already included.
ok bmercer@
2013-04-04 10:45:33 +00:00
deraadt
f78813fc33 gumstix was never finished 2013-03-25 17:32:07 +00:00
deraadt
394c7d0eb2 the unused palm code goes away. 2013-03-25 17:22:10 +00:00