{"action":"created","issue":{"url":"https://api.github.com/repos/Ralim/ts100/issues/273","repository_url":"https://api.github.com/repos/Ralim/ts100","labels_url":"https://api.github.com/repos/Ralim/ts100/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/Ralim/ts100/issues/273/comments","events_url":"https://api.github.com/repos/Ralim/ts100/issues/273/events","html_url":"https://github.com/Ralim/ts100/issues/273","id":316261288,"number":273,"title":"Cannot build with GCC 6.3.1 or higher","user":{"login":"agatti","id":235740,"avatar_url":"https://avatars3.githubusercontent.com/u/235740?v=4","gravatar_id":"","url":"https://api.github.com/users/agatti","html_url":"https://github.com/agatti","followers_url":"https://api.github.com/users/agatti/followers","following_url":"https://api.github.com/users/agatti/following{/other_user}","gists_url":"https://api.github.com/users/agatti/gists{/gist_id}","starred_url":"https://api.github.com/users/agatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agatti/subscriptions","organizations_url":"https://api.github.com/users/agatti/orgs","repos_url":"https://api.github.com/users/agatti/repos","events_url":"https://api.github.com/users/agatti/events{/privacy}","received_events_url":"https://api.github.com/users/agatti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-20T13:10:01Z","updated_at":"2018-04-27T15:34:00Z","closed_at":null,"author_association":"NONE","body":"* **I'm submitting a ...**\r\n  - [x] Bug report\r\n  - [ ] Feature request\r\n  - [ ] Translation\r\n\r\n\r\n* **Do you want to request a *feature* or report a *bug*?**\r\n\r\nBug\r\n\r\n* **What is the current behavior?**\r\n\r\nThe firmware, as per revision bf7f1f50625bb85f4505519a8b2455a69b86b25a, fails to build either via plain `make` or via `./build.sh` when using GCC for Arm that's installed via Homebrew Cask on macOS.\r\n\r\n* **What is the expected behavior?**\r\n\r\nThe firmware should build successfully.\r\n\r\n* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem**\r\n\r\n***Steps to reproduce:***\r\n\r\n1. Install the `gcc-arm-embedded` toolchain via Homebrew Cask on macOS.  The GCC version it will install will be as such:\r\n```\r\nUsing built-in specs.\r\nCOLLECT_GCC=arm-none-eabi-gcc\r\nCOLLECT_LTO_WRAPPER=/usr/local/Caskroom/gcc-arm-embedded/6-2017-q2-update/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/lto-wrapper\r\nTarget: arm-none-eabi\r\nConfigured with: /tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/src/gcc/configure --target=arm-none-eabi --prefix=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/install-native --libexecdir=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/install-native/lib --infodir=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/install-native/share/doc/gcc-arm-none-eabi/info --mandir=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/install-native/share/doc/gcc-arm-none-eabi/man --htmldir=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/install-native/share/doc/gcc-arm-none-eabi/html --pdfdir=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/install-native/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-plugins --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/install-native/arm-none-eabi --build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10 --with-gmp=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/build-native/host-libs/usr --with-mpfr=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/build-native/host-libs/usr --with-mpc=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/build-native/host-libs/usr --with-isl=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/build-native/host-libs/usr --with-libelf=/tmp/jenkins-GCC-6-build_build-toolchain-mac-262_20170621_1498074986/build-native/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-lstdc++ -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors 6-2017-q2-update' --with-multilib-list=rmprofile\r\nThread model: single\r\ngcc version 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437] (GNU Tools for ARM Embedded Processors 6-2017-q2-update)\r\n```\r\n2. Run either `make` or `./build.sh` in `workspace/TS100/`.\r\n\r\nThe output will be littered with errors like:\r\n\r\n```\r\n...\r\n\r\nLinking TS100_EN.elf\r\n/usr/local/Caskroom/gcc-arm-embedded/6-2017-q2-update/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: Hexfile/TS100_EN.elf section `.rodata' will not fit in region `ROM'\r\n/usr/local/Caskroom/gcc-arm-embedded/6-2017-q2-update/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: region `ROM' overflowed by 2236 bytes\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [Hexfile/TS100_EN.elf] Error 1\r\n\r\n...\r\n\r\nLinking TS100_CS_CZ.elf\r\n/usr/local/Caskroom/gcc-arm-embedded/6-2017-q2-update/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: Hexfile/TS100_CS_CZ.elf section `.rodata' will not fit in region `ROM'\r\n/usr/local/Caskroom/gcc-arm-embedded/6-2017-q2-update/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: region `ROM' overflowed by 2424 bytes\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [Hexfile/TS100_CS_CZ.elf] Error 1\r\n```\r\n\r\nand so on, for each localisation region.  With plain `make`, the error will be as such:\r\n\r\n```\r\nLinking TS100_EN.elf\r\n/usr/local/Caskroom/gcc-arm-embedded/6-2017-q2-update/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: Hexfile/TS100_EN.elf section `.rodata' will not fit in region `ROM'\r\n/usr/local/Caskroom/gcc-arm-embedded/6-2017-q2-update/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: region `ROM' overflowed by 2236 bytes\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [Hexfile/TS100_EN.elf] Error 1\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Ralim/ts100/issues/comments/385007076","html_url":"https://github.com/Ralim/ts100/issues/273#issuecomment-385007076","issue_url":"https://api.github.com/repos/Ralim/ts100/issues/273","id":385007076,"user":{"login":"jonnieZG","id":8830300,"avatar_url":"https://avatars2.githubusercontent.com/u/8830300?v=4","gravatar_id":"","url":"https://api.github.com/users/jonnieZG","html_url":"https://github.com/jonnieZG","followers_url":"https://api.github.com/users/jonnieZG/followers","following_url":"https://api.github.com/users/jonnieZG/following{/other_user}","gists_url":"https://api.github.com/users/jonnieZG/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnieZG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnieZG/subscriptions","organizations_url":"https://api.github.com/users/jonnieZG/orgs","repos_url":"https://api.github.com/users/jonnieZG/repos","events_url":"https://api.github.com/users/jonnieZG/events{/privacy}","received_events_url":"https://api.github.com/users/jonnieZG/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T15:34:00Z","updated_at":"2018-04-27T15:34:00Z","author_association":"CONTRIBUTOR","body":"Guys, I am working on in-memory compression of fonts and texts, so hopefully we should be able to squeeze in 6-8 languages per build. We should just have about 6-7 kB of free working RAM, because once loaded from EPROM, the fonts should be kept decompressed in the RAM. @Ralim, do you know how much RAM we can spare for that purpose? "}}
{"actor":{"display_login":"jonnieZG"}}