- Status Closed
- Percent Complete
- Task Type Patches
- Category Infrastructure → Build environment
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#12121 - rockboxdev.sh fails with host GCC 4.6.0
On systems with GCC 4.6.0 (e.g. Arch Linux), rockboxdev.sh fails to build some targets due to the new -Wunused-but-set-variable warning. This patch fixes it by just using –disable-werror, as I don’t see a point in keeping it enabled.
Closed by nls
2011-05-28 07:15
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2011-05-28 07:15
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
committed, thanks!
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I tried rebuilding my arm-elf-eabi and m68k-elf toolchains with gcc .46 on debian, binutils produces plenty of -Wunused-but-set-variable warnings but it doesn’t seem to use -Werror as it completes fine.
For which toolchain did this hit you?
I still think the patch is fine but i’d like to know what exactly it fixes :)
gcc (GCC) 4.6.0 20110513 (prerelease), Arch Linux version (gcc-multilib-4.6.0-5).
Debian apparently patches GCC to take this warning out of -Werror (http://lists.debian.org/debian-gcc/2011/02/msg00110.html). -Werror should still appear in the commands run.
I will give this a try later on Fedora 15 which also ships gcc 4.6.