diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-12-13 20:09:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-09 13:39:12 +0000 |
commit | 550052f9d8a3e2e291d4b22548bb860aa3ff30b3 (patch) | |
tree | abf6ed08d2603fe3c83e1d3c7b4bb2f246d785ac /meta/recipes-support | |
parent | 0bfe26381640c2fc1b2e5ed6db23a04a0608f538 (diff) | |
download | poky-550052f9d8a3e2e291d4b22548bb860aa3ff30b3.tar.gz |
boost: drop flags bits, fix for x32
boost was adding -march/-mcpu itself, and adding -m32/-m64 itself as well.
Patch that behavior out, apply another similar patch from elsewhere, and
adjust BJAM_OPTS to fix the x32 build.
(From OE-Core rev: 2dc30ad281b625e0c4f2437879bce58245aa45b1)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
5 files changed, 346 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc index a1a6a90f9c..0b2b17d032 100644 --- a/meta/recipes-support/boost/boost.inc +++ b/meta/recipes-support/boost/boost.inc | |||
@@ -177,6 +177,9 @@ BJAM_OPTS = '${BOOST_PARALLEL_MAKE} -d+2 -q \ | |||
177 | # Native compilation of bzip2 isn't working | 177 | # Native compilation of bzip2 isn't working |
178 | BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1' | 178 | BJAM_OPTS_append_class-native = ' -sNO_BZIP2=1' |
179 | 179 | ||
180 | # Adjust the build for x32 | ||
181 | BJAM_OPTS_append_linux-gnux32 = " abi=x32 address-model=64" | ||
182 | |||
180 | do_configure() { | 183 | do_configure() { |
181 | cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp | 184 | cp -f ${S}/boost/config/platform/linux.hpp ${S}/boost/config/platform/linux-gnueabi.hpp |
182 | 185 | ||
diff --git a/meta/recipes-support/boost/boost/0001-Apply-boost-1.62.0-no-forced-flags.patch.patch b/meta/recipes-support/boost/boost/0001-Apply-boost-1.62.0-no-forced-flags.patch.patch new file mode 100644 index 0000000000..169906344f --- /dev/null +++ b/meta/recipes-support/boost/boost/0001-Apply-boost-1.62.0-no-forced-flags.patch.patch | |||
@@ -0,0 +1,100 @@ | |||
1 | From 8845a786598f1d9e83aa1b7d2966b0d1eb765ba0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Christopher Larson <chris_larson@mentor.com> | ||
3 | Date: Tue, 13 Dec 2016 10:14:31 -0700 | ||
4 | Subject: [PATCH 1/3] Apply boost-1.62.0-no-forced-flags.patch | ||
5 | |||
6 | Upstream-Status: Inappropriate | ||
7 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
8 | --- | ||
9 | libs/log/build/Jamfile.v2 | 4 ++-- | ||
10 | libs/log/config/x86-ext/Jamfile.jam | 16 ++++++++-------- | ||
11 | libs/log/src/dump_avx2.cpp | 4 ++++ | ||
12 | libs/log/src/dump_ssse3.cpp | 4 ++++ | ||
13 | 4 files changed, 18 insertions(+), 10 deletions(-) | ||
14 | |||
15 | diff --git a/libs/log/build/Jamfile.v2 b/libs/log/build/Jamfile.v2 | ||
16 | index 4abbdbc..b3016fc 100644 | ||
17 | --- a/libs/log/build/Jamfile.v2 | ||
18 | +++ b/libs/log/build/Jamfile.v2 | ||
19 | @@ -373,7 +373,7 @@ rule avx2-targets-cond ( properties * ) | ||
20 | } | ||
21 | else if <toolset>clang in $(properties) | ||
22 | { | ||
23 | - result = <cxxflags>"-mavx -mavx2" ; | ||
24 | + result = <cxxflags> ; | ||
25 | } | ||
26 | else if <toolset>intel in $(properties) | ||
27 | { | ||
28 | @@ -383,7 +383,7 @@ rule avx2-targets-cond ( properties * ) | ||
29 | } | ||
30 | else | ||
31 | { | ||
32 | - result = <cxxflags>"-xCORE-AVX2 -fabi-version=0" ; | ||
33 | + result = <cxxflags>"-fabi-version=0" ; | ||
34 | } | ||
35 | } | ||
36 | else if <toolset>msvc in $(properties) | ||
37 | diff --git a/libs/log/config/x86-ext/Jamfile.jam b/libs/log/config/x86-ext/Jamfile.jam | ||
38 | index 0e9695a..dcc394d 100644 | ||
39 | --- a/libs/log/config/x86-ext/Jamfile.jam | ||
40 | +++ b/libs/log/config/x86-ext/Jamfile.jam | ||
41 | @@ -15,19 +15,19 @@ project /boost/log/x86-extensions | ||
42 | |||
43 | obj ssse3 : ssse3.cpp | ||
44 | : | ||
45 | - <toolset>gcc:<cxxflags>"-msse -msse2 -msse3 -mssse3" | ||
46 | - <toolset>clang:<cxxflags>"-msse -msse2 -msse3 -mssse3" | ||
47 | - <toolset>intel-linux:<cxxflags>"-xSSSE3" | ||
48 | - <toolset>intel-darwin:<cxxflags>"-xSSSE3" | ||
49 | + <toolset>gcc:<cxxflags> | ||
50 | + <toolset>clang:<cxxflags> | ||
51 | + <toolset>intel-linux:<cxxflags> | ||
52 | + <toolset>intel-darwin:<cxxflags> | ||
53 | <toolset>intel-win:<cxxflags>"/QxSSSE3" | ||
54 | ; | ||
55 | |||
56 | obj avx2 : avx2.cpp | ||
57 | : | ||
58 | - <toolset>gcc:<cxxflags>"-mavx -mavx2 -fabi-version=0" | ||
59 | - <toolset>clang:<cxxflags>"-mavx -mavx2" | ||
60 | - <toolset>intel-linux:<cxxflags>"-xCORE-AVX2 -fabi-version=0" | ||
61 | - <toolset>intel-darwin:<cxxflags>"-xCORE-AVX2 -fabi-version=0" | ||
62 | + <toolset>gcc:<cxxflags>"-fabi-version=0" | ||
63 | + <toolset>clang:<cxxflags> | ||
64 | + <toolset>intel-linux:<cxxflags>"-fabi-version=0" | ||
65 | + <toolset>intel-darwin:<cxxflags>"-fabi-version=0" | ||
66 | <toolset>intel-win:<cxxflags>"/arch:CORE-AVX2" | ||
67 | <toolset>msvc:<cxxflags>"/arch:AVX" | ||
68 | ; | ||
69 | diff --git a/libs/log/src/dump_avx2.cpp b/libs/log/src/dump_avx2.cpp | ||
70 | index 4ab1250..610fc6d 100644 | ||
71 | --- a/libs/log/src/dump_avx2.cpp | ||
72 | +++ b/libs/log/src/dump_avx2.cpp | ||
73 | @@ -22,6 +22,10 @@ | ||
74 | #include <boost/cstdint.hpp> | ||
75 | #include <boost/log/detail/header.hpp> | ||
76 | |||
77 | +#if !defined(__AVX2__) | ||
78 | +#error "AVX2 Unsupported!" | ||
79 | +#endif | ||
80 | + | ||
81 | #if defined(__x86_64) || defined(__x86_64__) || \ | ||
82 | defined(__amd64__) || defined(__amd64) || \ | ||
83 | defined(_M_X64) | ||
84 | diff --git a/libs/log/src/dump_ssse3.cpp b/libs/log/src/dump_ssse3.cpp | ||
85 | index 1325b49..60d4112 100644 | ||
86 | --- a/libs/log/src/dump_ssse3.cpp | ||
87 | +++ b/libs/log/src/dump_ssse3.cpp | ||
88 | @@ -22,6 +22,10 @@ | ||
89 | #include <boost/cstdint.hpp> | ||
90 | #include <boost/log/detail/header.hpp> | ||
91 | |||
92 | +#if !defined(__SSSE3__) | ||
93 | +#error "SSSE3 Unsupported!" | ||
94 | +#endif | ||
95 | + | ||
96 | #if defined(__x86_64) || defined(__x86_64__) || \ | ||
97 | defined(__amd64__) || defined(__amd64) || \ | ||
98 | defined(_M_X64) | ||
99 | -- | ||
100 | 2.8.0 | ||
diff --git a/meta/recipes-support/boost/boost/0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch b/meta/recipes-support/boost/boost/0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch new file mode 100644 index 0000000000..e9c7e4c555 --- /dev/null +++ b/meta/recipes-support/boost/boost/0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch | |||
@@ -0,0 +1,97 @@ | |||
1 | From c0e785f8da2caa6617052b1c7b347e0dffb1520d Mon Sep 17 00:00:00 2001 | ||
2 | From: Christopher Larson <chris_larson@mentor.com> | ||
3 | Date: Tue, 13 Dec 2016 10:29:17 -0700 | ||
4 | Subject: [PATCH 2/3] Don't set up -m32/-m64, we do that ourselves | ||
5 | |||
6 | Upstream-Status: Inappropriate | ||
7 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
8 | --- | ||
9 | tools/build/src/tools/gcc.jam | 10 ---------- | ||
10 | 1 file changed, 10 deletions(-) | ||
11 | |||
12 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam | ||
13 | index 0f346a5..942f141 100644 | ||
14 | --- a/tools/build/src/tools/gcc.jam | ||
15 | +++ b/tools/build/src/tools/gcc.jam | ||
16 | @@ -509,7 +509,6 @@ rule compile.c++.pch ( targets * : sources * : properties * ) | ||
17 | { | ||
18 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
19 | setup-fpic $(targets) : $(sources) : $(properties) ; | ||
20 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
21 | } | ||
22 | |||
23 | actions compile.c++.pch | ||
24 | @@ -521,7 +520,6 @@ rule compile.c.pch ( targets * : sources * : properties * ) | ||
25 | { | ||
26 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
27 | setup-fpic $(targets) : $(sources) : $(properties) ; | ||
28 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
29 | } | ||
30 | |||
31 | actions compile.c.pch | ||
32 | @@ -533,7 +531,6 @@ rule compile.c++.preprocess ( targets * : sources * : properties * ) | ||
33 | { | ||
34 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
35 | setup-fpic $(targets) : $(sources) : $(properties) ; | ||
36 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
37 | |||
38 | # Some extensions are compiled as C++ by default. For others, we need to | ||
39 | # pass -x c++. We could always pass -x c++ but distcc does not work with it. | ||
40 | @@ -548,7 +545,6 @@ rule compile.c.preprocess ( targets * : sources * : properties * ) | ||
41 | { | ||
42 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
43 | setup-fpic $(targets) : $(sources) : $(properties) ; | ||
44 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
45 | |||
46 | # If we use the name g++ then default file suffix -> language mapping does | ||
47 | # not work. So have to pass -x option. Maybe, we can work around this by | ||
48 | @@ -564,7 +560,6 @@ rule compile.c++ ( targets * : sources * : properties * ) | ||
49 | { | ||
50 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
51 | setup-fpic $(targets) : $(sources) : $(properties) ; | ||
52 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
53 | |||
54 | # Some extensions are compiled as C++ by default. For others, we need to | ||
55 | # pass -x c++. We could always pass -x c++ but distcc does not work with it. | ||
56 | @@ -594,7 +589,6 @@ rule compile.c ( targets * : sources * : properties * ) | ||
57 | { | ||
58 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
59 | setup-fpic $(targets) : $(sources) : $(properties) ; | ||
60 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
61 | |||
62 | # If we use the name g++ then default file suffix -> language mapping does | ||
63 | # not work. So have to pass -x option. Maybe, we can work around this by | ||
64 | @@ -610,7 +604,6 @@ rule compile.fortran ( targets * : sources * : properties * ) | ||
65 | { | ||
66 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
67 | setup-fpic $(targets) : $(sources) : $(properties) ; | ||
68 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
69 | } | ||
70 | |||
71 | actions compile.c++ bind PCH_FILE | ||
72 | @@ -641,7 +634,6 @@ actions compile.fortran | ||
73 | rule compile.asm ( targets * : sources * : properties * ) | ||
74 | { | ||
75 | setup-fpic $(targets) : $(sources) : $(properties) ; | ||
76 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
77 | LANG on $(<) = "-x assembler-with-cpp" ; | ||
78 | } | ||
79 | |||
80 | @@ -950,7 +942,6 @@ rule quote-rpath ( targets * ) | ||
81 | rule link ( targets * : sources * : properties * ) | ||
82 | { | ||
83 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
84 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
85 | SPACE on $(targets) = " " ; | ||
86 | # Serialize execution of the 'link' action, since running N links in | ||
87 | # parallel is just slower. For now, serialize only gcc links, it might be a | ||
88 | @@ -1018,7 +1009,6 @@ actions piecemeal archive | ||
89 | rule link.dll ( targets * : sources * : properties * ) | ||
90 | { | ||
91 | setup-threading $(targets) : $(sources) : $(properties) ; | ||
92 | - setup-address-model $(targets) : $(sources) : $(properties) ; | ||
93 | SPACE on $(targets) = " " ; | ||
94 | JAM_SEMAPHORE on $(targets) = <s>gcc-link-semaphore ; | ||
95 | quote-rpath $(targets) ; | ||
96 | -- | ||
97 | 2.8.0 | ||
diff --git a/meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch b/meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch new file mode 100644 index 0000000000..6bb25f885c --- /dev/null +++ b/meta/recipes-support/boost/boost/0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch | |||
@@ -0,0 +1,143 @@ | |||
1 | From 7c49525812567f1219706c4ed330b3bd2cc8e94a Mon Sep 17 00:00:00 2001 | ||
2 | From: Christopher Larson <chris_larson@mentor.com> | ||
3 | Date: Tue, 13 Dec 2016 10:29:32 -0700 | ||
4 | Subject: [PATCH 3/3] Don't set up arch/instruction-set flags, we do that | ||
5 | ourselves | ||
6 | |||
7 | Upstream-Status: Inappropriate | ||
8 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
9 | --- | ||
10 | tools/build/src/tools/gcc.jam | 121 ------------------------------------------ | ||
11 | 1 file changed, 121 deletions(-) | ||
12 | |||
13 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam | ||
14 | index 942f141..d062c20 100644 | ||
15 | --- a/tools/build/src/tools/gcc.jam | ||
16 | +++ b/tools/build/src/tools/gcc.jam | ||
17 | @@ -1068,124 +1068,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + : | ||
18 | <architecture>$(architecture)/<instruction-set>$(instruction-set) | ||
19 | : $(values) ; | ||
20 | } | ||
21 | - | ||
22 | - | ||
23 | -# Set architecture/instruction-set options. | ||
24 | -# | ||
25 | -# x86 and compatible | ||
26 | -# The 'native' option appeared in gcc 4.2 so we cannot safely use it as default. | ||
27 | -# Use i686 instead for 32-bit. | ||
28 | -toolset.flags gcc OPTIONS <architecture>x86/<address-model>32/<instruction-set> : -march=i686 ; | ||
29 | -cpu-flags gcc OPTIONS : x86 : native : -march=native ; | ||
30 | -cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ; | ||
31 | -cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ; | ||
32 | -cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ; | ||
33 | -cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ; | ||
34 | -cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ; | ||
35 | -cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ; | ||
36 | -cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ; | ||
37 | -cpu-flags gcc OPTIONS : x86 : pentium3 : -march=pentium3 ; | ||
38 | -cpu-flags gcc OPTIONS : x86 : pentium3m : -march=pentium3m ; | ||
39 | -cpu-flags gcc OPTIONS : x86 : pentium-m : -march=pentium-m ; | ||
40 | -cpu-flags gcc OPTIONS : x86 : pentium4 : -march=pentium4 ; | ||
41 | -cpu-flags gcc OPTIONS : x86 : pentium4m : -march=pentium4m ; | ||
42 | -cpu-flags gcc OPTIONS : x86 : prescott : -march=prescott ; | ||
43 | -cpu-flags gcc OPTIONS : x86 : nocona : -march=nocona ; | ||
44 | -cpu-flags gcc OPTIONS : x86 : core2 : -march=core2 ; | ||
45 | -cpu-flags gcc OPTIONS : x86 : conroe : -march=core2 ; | ||
46 | -cpu-flags gcc OPTIONS : x86 : conroe-xe : -march=core2 ; | ||
47 | -cpu-flags gcc OPTIONS : x86 : conroe-l : -march=core2 ; | ||
48 | -cpu-flags gcc OPTIONS : x86 : allendale : -march=core2 ; | ||
49 | -cpu-flags gcc OPTIONS : x86 : wolfdale : -march=core2 -msse4.1 ; | ||
50 | -cpu-flags gcc OPTIONS : x86 : merom : -march=core2 ; | ||
51 | -cpu-flags gcc OPTIONS : x86 : merom-xe : -march=core2 ; | ||
52 | -cpu-flags gcc OPTIONS : x86 : kentsfield : -march=core2 ; | ||
53 | -cpu-flags gcc OPTIONS : x86 : kentsfield-xe : -march=core2 ; | ||
54 | -cpu-flags gcc OPTIONS : x86 : yorksfield : -march=core2 ; | ||
55 | -cpu-flags gcc OPTIONS : x86 : penryn : -march=core2 ; | ||
56 | -cpu-flags gcc OPTIONS : x86 : corei7 : -march=corei7 ; | ||
57 | -cpu-flags gcc OPTIONS : x86 : nehalem : -march=corei7 ; | ||
58 | -cpu-flags gcc OPTIONS : x86 : corei7-avx : -march=corei7-avx ; | ||
59 | -cpu-flags gcc OPTIONS : x86 : sandy-bridge : -march=corei7-avx ; | ||
60 | -cpu-flags gcc OPTIONS : x86 : core-avx-i : -march=core-avx-i ; | ||
61 | -cpu-flags gcc OPTIONS : x86 : ivy-bridge : -march=core-avx-i ; | ||
62 | -cpu-flags gcc OPTIONS : x86 : haswell : -march=core-avx-i -mavx2 -mfma -mbmi -mbmi2 -mlzcnt ; | ||
63 | -cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ; | ||
64 | -cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ; | ||
65 | -cpu-flags gcc OPTIONS : x86 : k6-3 : -march=k6-3 ; | ||
66 | -cpu-flags gcc OPTIONS : x86 : athlon : -march=athlon ; | ||
67 | -cpu-flags gcc OPTIONS : x86 : athlon-tbird : -march=athlon-tbird ; | ||
68 | -cpu-flags gcc OPTIONS : x86 : athlon-4 : -march=athlon-4 ; | ||
69 | -cpu-flags gcc OPTIONS : x86 : athlon-xp : -march=athlon-xp ; | ||
70 | -cpu-flags gcc OPTIONS : x86 : athlon-mp : -march=athlon-mp ; | ||
71 | -## | ||
72 | -cpu-flags gcc OPTIONS : x86 : k8 : -march=k8 ; | ||
73 | -cpu-flags gcc OPTIONS : x86 : opteron : -march=opteron ; | ||
74 | -cpu-flags gcc OPTIONS : x86 : athlon64 : -march=athlon64 ; | ||
75 | -cpu-flags gcc OPTIONS : x86 : athlon-fx : -march=athlon-fx ; | ||
76 | -cpu-flags gcc OPTIONS : x86 : k8-sse3 : -march=k8-sse3 ; | ||
77 | -cpu-flags gcc OPTIONS : x86 : opteron-sse3 : -march=opteron-sse3 ; | ||
78 | -cpu-flags gcc OPTIONS : x86 : athlon64-sse3 : -march=athlon64-sse3 ; | ||
79 | -cpu-flags gcc OPTIONS : x86 : amdfam10 : -march=amdfam10 ; | ||
80 | -cpu-flags gcc OPTIONS : x86 : barcelona : -march=barcelona ; | ||
81 | -cpu-flags gcc OPTIONS : x86 : bdver1 : -march=bdver1 ; | ||
82 | -cpu-flags gcc OPTIONS : x86 : bdver2 : -march=bdver2 ; | ||
83 | -cpu-flags gcc OPTIONS : x86 : bdver3 : -march=bdver3 ; | ||
84 | -cpu-flags gcc OPTIONS : x86 : btver1 : -march=btver1 ; | ||
85 | -cpu-flags gcc OPTIONS : x86 : btver2 : -march=btver2 ; | ||
86 | -cpu-flags gcc OPTIONS : x86 : winchip-c6 : -march=winchip-c6 ; | ||
87 | -cpu-flags gcc OPTIONS : x86 : winchip2 : -march=winchip2 ; | ||
88 | -cpu-flags gcc OPTIONS : x86 : c3 : -march=c3 ; | ||
89 | -cpu-flags gcc OPTIONS : x86 : c3-2 : -march=c3-2 ; | ||
90 | -## | ||
91 | -cpu-flags gcc OPTIONS : x86 : atom : -march=atom ; | ||
92 | -# Sparc | ||
93 | -cpu-flags gcc OPTIONS : sparc : v7 : -mcpu=v7 : default ; | ||
94 | -cpu-flags gcc OPTIONS : sparc : cypress : -mcpu=cypress ; | ||
95 | -cpu-flags gcc OPTIONS : sparc : v8 : -mcpu=v8 ; | ||
96 | -cpu-flags gcc OPTIONS : sparc : supersparc : -mcpu=supersparc ; | ||
97 | -cpu-flags gcc OPTIONS : sparc : sparclite : -mcpu=sparclite ; | ||
98 | -cpu-flags gcc OPTIONS : sparc : hypersparc : -mcpu=hypersparc ; | ||
99 | -cpu-flags gcc OPTIONS : sparc : sparclite86x : -mcpu=sparclite86x ; | ||
100 | -cpu-flags gcc OPTIONS : sparc : f930 : -mcpu=f930 ; | ||
101 | -cpu-flags gcc OPTIONS : sparc : f934 : -mcpu=f934 ; | ||
102 | -cpu-flags gcc OPTIONS : sparc : sparclet : -mcpu=sparclet ; | ||
103 | -cpu-flags gcc OPTIONS : sparc : tsc701 : -mcpu=tsc701 ; | ||
104 | -cpu-flags gcc OPTIONS : sparc : v9 : -mcpu=v9 ; | ||
105 | -cpu-flags gcc OPTIONS : sparc : ultrasparc : -mcpu=ultrasparc ; | ||
106 | -cpu-flags gcc OPTIONS : sparc : ultrasparc3 : -mcpu=ultrasparc3 ; | ||
107 | -# RS/6000 & PowerPC | ||
108 | -cpu-flags gcc OPTIONS : power : 403 : -mcpu=403 ; | ||
109 | -cpu-flags gcc OPTIONS : power : 505 : -mcpu=505 ; | ||
110 | -cpu-flags gcc OPTIONS : power : 601 : -mcpu=601 ; | ||
111 | -cpu-flags gcc OPTIONS : power : 602 : -mcpu=602 ; | ||
112 | -cpu-flags gcc OPTIONS : power : 603 : -mcpu=603 ; | ||
113 | -cpu-flags gcc OPTIONS : power : 603e : -mcpu=603e ; | ||
114 | -cpu-flags gcc OPTIONS : power : 604 : -mcpu=604 ; | ||
115 | -cpu-flags gcc OPTIONS : power : 604e : -mcpu=604e ; | ||
116 | -cpu-flags gcc OPTIONS : power : 620 : -mcpu=620 ; | ||
117 | -cpu-flags gcc OPTIONS : power : 630 : -mcpu=630 ; | ||
118 | -cpu-flags gcc OPTIONS : power : 740 : -mcpu=740 ; | ||
119 | -cpu-flags gcc OPTIONS : power : 7400 : -mcpu=7400 ; | ||
120 | -cpu-flags gcc OPTIONS : power : 7450 : -mcpu=7450 ; | ||
121 | -cpu-flags gcc OPTIONS : power : 750 : -mcpu=750 ; | ||
122 | -cpu-flags gcc OPTIONS : power : 801 : -mcpu=801 ; | ||
123 | -cpu-flags gcc OPTIONS : power : 821 : -mcpu=821 ; | ||
124 | -cpu-flags gcc OPTIONS : power : 823 : -mcpu=823 ; | ||
125 | -cpu-flags gcc OPTIONS : power : 860 : -mcpu=860 ; | ||
126 | -cpu-flags gcc OPTIONS : power : 970 : -mcpu=970 ; | ||
127 | -cpu-flags gcc OPTIONS : power : 8540 : -mcpu=8540 ; | ||
128 | -cpu-flags gcc OPTIONS : power : power : -mcpu=power ; | ||
129 | -cpu-flags gcc OPTIONS : power : power2 : -mcpu=power2 ; | ||
130 | -cpu-flags gcc OPTIONS : power : power3 : -mcpu=power3 ; | ||
131 | -cpu-flags gcc OPTIONS : power : power4 : -mcpu=power4 ; | ||
132 | -cpu-flags gcc OPTIONS : power : power5 : -mcpu=power5 ; | ||
133 | -cpu-flags gcc OPTIONS : power : powerpc : -mcpu=powerpc ; | ||
134 | -cpu-flags gcc OPTIONS : power : powerpc64 : -mcpu=powerpc64 ; | ||
135 | -cpu-flags gcc OPTIONS : power : rios : -mcpu=rios ; | ||
136 | -cpu-flags gcc OPTIONS : power : rios1 : -mcpu=rios1 ; | ||
137 | -cpu-flags gcc OPTIONS : power : rios2 : -mcpu=rios2 ; | ||
138 | -cpu-flags gcc OPTIONS : power : rsc : -mcpu=rsc ; | ||
139 | -cpu-flags gcc OPTIONS : power : rs64a : -mcpu=rs64 ; | ||
140 | -# AIX variant of RS/6000 & PowerPC | ||
141 | -toolset.flags gcc AROPTIONS <address-model>64/<target-os>aix : "-X64" ; | ||
142 | -- | ||
143 | 2.8.0 | ||
diff --git a/meta/recipes-support/boost/boost_1.62.0.bb b/meta/recipes-support/boost/boost_1.62.0.bb index cde03f2b8e..de4932a6e1 100644 --- a/meta/recipes-support/boost/boost_1.62.0.bb +++ b/meta/recipes-support/boost/boost_1.62.0.bb | |||
@@ -9,4 +9,7 @@ SRC_URI += "\ | |||
9 | file://0002-boost-test-execution_monitor.hpp-fix-mips-soft-float.patch \ | 9 | file://0002-boost-test-execution_monitor.hpp-fix-mips-soft-float.patch \ |
10 | file://0004-Use-atomic-by-default-when-BOOST_NO_CXX11_HDR_ATOMIC.patch \ | 10 | file://0004-Use-atomic-by-default-when-BOOST_NO_CXX11_HDR_ATOMIC.patch \ |
11 | file://boost-math-disable-pch-for-gcc.patch \ | 11 | file://boost-math-disable-pch-for-gcc.patch \ |
12 | file://0001-Apply-boost-1.62.0-no-forced-flags.patch.patch \ | ||
13 | file://0003-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \ | ||
14 | file://0002-Don-t-set-up-m32-m64-we-do-that-ourselves.patch \ | ||
12 | " | 15 | " |