Commit graph

29 commits

Author SHA1 Message Date
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