Issue #10710 has been updated by Stefan Kaes. ~~~ $ gcc --version gcc (Debian 4.3.2-1.1) 4.3.2 ~~~ The compilation of a given source file fails as soon as the compiler needs to emit some warning: ~~~ gcc -Wno-packed-bitfield-compat some_warning.c some_warning.c: In function ¡Æmain¡Ç: some_warning.c:3: warning: return type of ¡Æmain¡Ç is not ¡Æint¡Ç At top level: cc1: error: unrecognized command line option "-Wno-packed-bitfield-compat" ~~~ ---------------------------------------- Bug #10710: can't compile ruby 2.2.0 with gcc versions older than 4.4.0 https://bugs.ruby-lang.org/issues/10710#change-50840 * Author: Stefan Kaes * Status: Open * Priority: Normal * Assignee: Nobuyoshi Nakada * Category: build * Target version: * ruby -v: 2.2.0 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- compilation stops because gcc before 4.4.0 does not support the flag -Wno-packed-bitfield-compat. patch can be found here: https://github.com/skaes/rvm-patchsets/blob/master/patches/ruby/2.2.0/railsexpress/05-fix-packed-bitfield-compat-warning-for-older-gccs.patch ---Files-------------------------------- 05-fix-packed-bitfield-compat-warning-for-older-gccs.patch (760 Bytes) -- https://bugs.ruby-lang.org/