• 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
Attached to Project: Rockbox
Opened by wtachi - 2011-05-19
Last edited by nls - 2011-05-28

FS#12121 - fails with host GCC 4.6.0

On systems with GCC 4.6.0 (e.g. Arch Linux), 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

committed, thanks!

nls commented on 2011-05-27 07:34

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 ( -Werror should still appear in the commands run.

I will give this a try later on Fedora 15 which also ships gcc 4.6.


Available keyboard shortcuts


Task Details

Task Editing