Changeset c92dfed in mainline


Ignore:
Timestamp:
2018-08-03T14:51:07Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3767bdb
Parents:
f2c8f55
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-02 18:34:59)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-03 14:51:07)
Message:

Bump GCC version to 8.2.0

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    rf2c8f55 rc92dfed  
    9797
    9898% CPU type
    99 @ "arm1176" ARM1176
     99@ "arm1176jzf_s" ARM1176JZF-S
    100100! [PLATFORM=arm32&MACHINE=raspberrypi] PROCESSOR (choice)
    101101
     
    113113% CPU arch
    114114@ "armv6" ARMv6
    115 ! [PLATFORM=arm32&(PROCESSOR=arm1176)] PROCESSOR_ARCH (choice)
     115! [PLATFORM=arm32&(PROCESSOR=arm1176jzf_s)] PROCESSOR_ARCH (choice)
    116116
    117117# Add more ARMv7-A CPUs
  • kernel/Makefile

    rf2c8f55 rc92dfed  
    9797GCC_CFLAGS = -std=gnu99 -Wall -Wextra -Wno-unused-parameter \
    9898        -Wmissing-prototypes -Werror-implicit-function-declaration \
    99         -Wwrite-strings -pipe
     99        -Wwrite-strings -pipe -Wno-cast-function-type
    100100
    101101CLANG_CFLAGS = -std=gnu99 -Wall -Wextra -Wno-unused-parameter \
  • kernel/arch/arm32/include/arch/cp15.h

    rf2c8f55 rc92dfed  
    400400#if defined(PROCESSOR_cortex_a8)
    401401#define CP15_C7_MVA_ALIGN       64
    402 #elif defined(PROCESSOR_arm1176)
     402#elif defined(PROCESSOR_arm1176jzf_s)
    403403#define CP15_C7_MVA_ALIGN       32
    404404#elif defined(PROCESSOR_arm926ej_s)
     
    407407#define CP15_C7_MVA_ALIGN       32
    408408#else
    409 #error Unknow MVA alignment
     409#error Unknown MVA alignment
    410410#endif
    411411
  • tools/toolchain.sh

    rf2c8f55 rc92dfed  
    3838
    3939GCC_GIT="https://github.com/HelenOS/gcc.git"
    40 GCC_BRANCH="7_3_0-helenos"
    41 GCC_VERSION="7.3.0"
     40GCC_BRANCH="8_2_0-helenos"
     41GCC_VERSION="8.2.0"
    4242
    4343BASEDIR="`pwd`"
  • uspace/Makefile.common

    rf2c8f55 rc92dfed  
    207207                -Wno-unused-command-line-argument
    208208else
     209        # FIXME: -Wimplicit-fallthrough is broken in GCC 8.2.0
    209210        DEFAULT_CFLAGS += \
     211                -Wno-implicit-fallthrough \
    210212                -Wno-clobbered
    211213endif
  • uspace/lib/c/arch/arm32/Makefile.common

    rf2c8f55 rc92dfed  
    2929
    3030COMMON_CFLAGS += -ffixed-r9 -mtp=soft -fno-omit-frame-pointer -mapcs-frame \
    31         -march=$(subst _,-,$(PROCESSOR_ARCH))
     31        -mcpu=$(subst _,-,$(PROCESSOR))
    3232
    3333LDFLAGS += -Wl,--gc-sections
  • uspace/lib/cpp/include/__bits/io/istream.hpp

    rf2c8f55 rc92dfed  
    805805                                            unsigned char& c)
    806806    {
    807         return is >> static_cast<char&>(c);
     807        return is >> reinterpret_cast<char&>(c);
    808808    }
    809809
     
    812812                                            signed char& c)
    813813    {
    814         return is >> static_cast<char&>(c);
     814        return is >> reinterpret_cast<char&>(c);
    815815    }
    816816
     
    858858                                            unsigned char* str)
    859859    {
    860         return is >> static_cast<char*>(str);
     860        return is >> reinterpret_cast<char*>(str);
    861861    }
    862862
     
    865865                                            signed char* str)
    866866    {
    867         return is >> static_cast<char*>(str);
     867        return is >> reinterpret_cast<char*>(str);
    868868    }
    869869
  • uspace/lib/cpp/include/__bits/io/streambuf.hpp

    rf2c8f55 rc92dfed  
    6565            }
    6666
    67             locale& getloc() const
     67            locale getloc() const
    6868            {
    6969                return locale_;
Note: See TracChangeset for help on using the changeset viewer.