• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/icu/0002-workaround-toolchain-bugs.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Workaround toolchain bugs
2
​
3
Many of ARM Sourcery CodeBench toolchain have a bug when compiling
4
icu's translit.cpp source file. The bug is trigerred when there is a
5
combination of "-W -Wall" and "-Os", and causes an internal compiler
6
error. The bug has been reported to Mentor Graphics.
7
​
8
Even though it is clearly a toolchain bug, having a workaround for it
9
is trivial in this case. So it will avoid our users falling into this
10
internal compiler error, and allow our autobuilders to test more
11
packages using this Sourcery CodeBench toolchain.qq
12
​
13
[Gustavo: update for ICU4C 54.1]
14
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
16
​
17
diff -Nura icu.orig/source/configure icu/source/configure
18
--- icu.orig/source/configure   2014-12-18 15:49:43.038628644 -0300
19
+++ icu/source/configure    2014-12-18 15:51:23.183083232 -0300
20
@@ -4323,7 +4323,7 @@
21
                 ;;
22
             esac
23
 
24
-            CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
25
+            CFLAGS="$CFLAGS -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
26
         else
27
             case "${host}" in
28
             *-*-cygwin)
29
@@ -4337,7 +4337,7 @@
30
         fi
31
         if test "$GXX" = yes
32
         then
33
-            CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
34
+            CXXFLAGS="$CXXFLAGS -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
35
         else
36
             case "${host}" in
37
             *-*-cygwin)
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.