Commit Graph

46 Commits

Author SHA1 Message Date
hipperson0
fb26ec4a5b New package: cross-mips-linux-muslhf-0.24 2017-11-24 10:11:23 +01:00
Jürgen Buchmüller
272114cd05 xbps-src: trying to fix FFLAGS construction
This still isn't perfect. When the common/xbps-src/shutils/chroot.sh
function chroot_init() is called, the value for $XBPS_FFLAGS, which is
defined in common/build-profiles/bootstrap.sh, is empty.

Put the immediate value into the generated /etc/xbps/xbps-src.conf
file until someone finds out where passing the value of $XBPS_FFLAGS
throughout the scripts is missing.
2017-03-08 17:36:22 +01:00
Juan RP
2defe2ff17 cross-profiles: get rid of musl-gnulibfix (unused). 2016-04-27 16:55:16 +02:00
Juan RP
b722ed3c8b cross-profiles: simplify and rename some of them to match XBPS_TARGET_MACHINE.
- XBPS_TARGET_ARCH var renamed to XBPS_TARGET_MACHINE (gets rid of an extra var).
- Renamed cross profiles to match XBPS_TARGET_MACHINE.
- Added symlinks to keep compatibility with old profiles.
2016-04-27 16:47:05 +02:00
Juan RP
c85787ebf9 cross-profiles: mipselhf-musl: set XBPS_TARGET_MACHINE to mipselhf-musl.
... otherwise the triplet in gcc does not match.
2016-04-26 09:40:51 +02:00
Juan RP
14931d5ab2 cross-profiles/i686-musl: use defaults.
To disable hardening features this file should not be used.
2015-12-12 07:48:59 +01:00
Juan RP
0795d6a787 cross-profiles/README: sync with reality. 2015-11-18 09:34:57 +01:00
Andrea Brancaleoni
d545ebe138 New cross-profile: armv5tel-musl 2015-09-21 09:00:45 +02:00
Juan RP
97bfe44ebe cross-profiles: added mipsel-musl target (MIPS32r2 LE SF) 2015-07-14 11:59:40 +02:00
Juan RP
e890d87070 cross-profiles: added mipselhf-musl cross target. 2015-07-08 10:29:57 +02:00
Juan RP
537cdcb9e8 cross-arm-linux-gnueabihf7 -> cross-armv7l-linux-gnueabihf. 2015-05-17 08:33:09 +02:00
Juan RP
b13f6e6fc5 cross-arm-linux-musleabi -> cross-arm-linux-musleabihf (for ARMv6 HF). 2015-05-17 08:15:41 +02:00
Juan RP
33a2ce7cb0 New package: cross-armv7l-linux-musleabihf for armv7hf-musl. 2015-05-17 08:01:04 +02:00
Juan RP
e950a5d0c8 cross-profiles/aarch64-musl: -fstack-protector-strong works. 2015-05-02 12:05:12 +02:00
Juan RP
dbf77e4dcd xbps-src: added support to cross compile for MIPS32 (r2, be, sf) with musl. 2015-05-02 05:56:12 +02:00
Juan RP
35004001d4 Remove cross mips pkgs with glibc. Nobody wants this really.
I'll import a cross pkg for MIPS that uses musl instead.
2015-05-02 05:16:32 +02:00
Juan RP
8da4192b04 common/cross-profiles/armv5te.sh: sync with current cross pkg. 2015-05-01 11:37:22 +02:00
Juan RP
240bdb088a cross-i686-pc-linux-gnu: update toolchain components and unbreak. 2015-04-11 10:29:52 +02:00
Christian Neukirchen
71fe1e30ff common/*-profiles/aarch64-musl.sh: add AArch64/ARMv8 musl profiles. 2015-03-30 18:33:43 +02:00
Christian Neukirchen
25bb572dbe common/*-profiles/aarch64.sh: add AArch64/ARMv8 glibc cross profile. 2015-03-30 18:33:43 +02:00
Christian Neukirchen
8f1abb9242 hooks/pre-configure/01-aarch64-override-config.sh: new hook. 2015-03-30 18:33:43 +02:00
Christian Neukirchen
ae01380ba4 common/cross-profiles/config.sub: update to automake 1.15 version. 2015-03-30 18:33:43 +02:00
Juan RP
3cb08dd17b cross-profiles/i686-musl: also disable _FORTIFY_SOURCE. 2015-03-06 10:33:53 +01:00
Juan RP
020fa3827f cross-profiles/i686-musl: force disable SSP.
whrlpool/.libs/libcrypto_la-wp_block.o: In function `whirlpool_block':
/builddir/libressl-2.1.4/crypto/whrlpool/wp_block.c:634: undefined reference to `__stack_chk_fail_local'
2015-03-06 10:31:09 +01:00
Juan RP
ee5d8644be cross-profiles/i686-musl: disable SSP completely. 2015-03-06 10:29:40 +01:00
Juan RP
3774e0e061 cross-profile: i686-musl: disable fstack-protector-strong for now.
crc32.lo: In function `crc32_combine_':
crc32.c:(.text+0x1d1): undefined reference to `__stack_chk_fail_local'
2015-03-06 10:28:26 +01:00
Juan RP
9000a1e907 cross-profiles: use working C{,XX}FLAGS for cross pkgs that use gcc-4.7.x. 2015-03-06 08:23:46 +01:00
Juan RP
b095cbfbfe cross-profiles: i686: use -fstack-protector for now (close #1061).
The cross-i686-pc-linux-gnu pkg uses gcc-4.7.x and does not support
-fstack-protector-strong, so use a more relaxed approach for now.
2015-03-06 08:21:21 +01:00
Juan RP
50a116d27a xbps-src: set default compiler/preprocessor/linker flags via etc/conf.
Rather than setting them in the build profile, just set them in
etc/defaults.conf (overridable via etc/conf) to simplify the code.

- Also enable _FORTIFY_SOURCE=2 in CPPFLAGS.
- Also enable -z,relro in LDFLAGS.

As suggested by @chneukirchen.
2015-03-04 15:18:46 +01:00
Juan RP
5352c7a007 cross-i686-linux-musl: update components, enable -fstack-protector-strong.
- updated binutils to 2.25
- updated gcc to 4.9.2
- updated musl to 1.1.6
- updated linux headers to 3.18.5
2015-02-03 17:50:28 +01:00
Juan RP
ccc4b79acf cross-x86_64-linux-musl: update components, enable -fstack-protector-strong.
- updated binutils to 2.25
- updated gcc to 4.9.2
- updated musl to 1.1.6
- updated linux headers to 3.18.5
2015-02-03 17:33:03 +01:00
Juan RP
52b35693d4 cross-arm-linux-musleabi: update components.
- binutils updated to 2.25
- gcc updated to 4.9.2
- musl updated to 1.1.6
- kernel headers updated to 3.18.5

Also enable -fstack-protector-strong by default in the armv[67]hf-musl
cross profiles.
2015-02-02 22:18:19 +01:00
Juan RP
2f3537525a cross-profiles/armv7hf.sh: switch to the arm-linux-gnueabihf7 cross compiler. 2014-09-07 09:06:53 +02:00
Juan RP
a5b8b3052b cross-profiles/armv7hf: switch to the armv7l-linux-gnueabihf cross compiler again.
glibc uses the cross compiler preprocessor to know what architecture
to compile for, resulting in wrong architecture being used with the armv6
cross compiler.
2014-09-07 01:21:01 +02:00
Juan RP
8fc5850fd4 cross-profiles/armv7hf: use the arm-linux-gnueabihf cross compiler.
There's no reason to use the gnueabihf7 variant, because the only difference
are the CFLAGS to build it. Use the gnueabihf one (used by Rpi too).
2014-08-21 16:56:03 +02:00
Juan RP
bb7da9658d cross-profiles: enable -fstack-protector-strong for armv[67]hf profiles. 2014-05-16 08:30:07 +02:00
Enno Boland
108c393cda common/cross-profiles: rename profile armv5 to armv5te 2014-03-16 10:02:19 +01:00
Enno Boland
eb00d0f082 common/cross-profiles: adding support for armv5 2014-03-16 09:51:18 +01:00
Juan RP
1ce9d7e4c1 Rename armv7 cross profile to armv7hf, so that we know it's targetting hf. 2014-03-01 09:51:09 +01:00
Juan RP
4a716cd999 New cross profile: armv7hf-musl. 2014-03-01 09:50:24 +01:00
Juan RP
fbb7da4772 common/cross-profiles: add a simple README. 2014-01-28 12:07:13 +01:00
Juan RP
7ceca394c5 cross-profiles/armv7.sh: use cross-arm-linux-gnueabihf7 pkg. 2014-01-18 10:04:41 +01:00
Juan RP
cae309971c cross-profiles/armv7.sh: use valid CROSS_CFLAGS for armv7-a. 2014-01-17 17:57:09 +01:00
Juan RP
f2aca6575f common/cross-profiles: add a script from sabotage to workaround gnulib issues with musl. 2014-01-08 09:52:14 +01:00
Juan RP
ed5f1a9273 cross-profiles/*-musl.sh: use a different XBPS_TARGET_ARCH so that pkgs don't conflict with glibc ones. 2014-01-07 18:32:38 +01:00
Juan RP
074bb4d726 Added build_style and cross-profiles dirs from xbps-src. 2014-01-07 17:29:49 +01:00