[Mesa-dev] [RFC 2/8] mesa: bump required GCC version to 4.1.0
kallisti5
kallisti5 at ssl.unixzen.com
Sun Dec 14 07:22:46 PST 2014
On 2014-12-14 08:45, Emil Velikov wrote:
> On 12/12/14 11:46, Timothy Arceri wrote:
>> Signed-off-by: Timothy Arceri <t_arceri at yahoo.com.au>
>> ---
>>
>> Its been just under 5 years since the required version
>> of GCC was set at 3.3.0 at the time it was 7 years old.
>>
>> I'm proposing bumping it to 4.1.0 which is almost 9 years
>> old since its used in RHEL 5 which is still supported.
>>
>> For the record if it was set to 4.3.0 there would be
>> very few version checks needed at all.
>>
> Nicely done Timothy.
>
> Can we just get a confirmation from Alexander von Gluck IV. IIRC he
> is/was building mesa with gcc 3.
>
> Alexander, what were the details about the gcc 3 build ? I take it that
> you'll be ok with moving to gcc 4.1.0+ ?
We'll be fine :-), we're using GCC 4.8.3 on our modern builds.
We are using GCC 2.9x for the "BeOS ABI compatible" builds, but we
forked
Mesa 7.9.2 which seems to be the absolute last version of Mesa that will
compile under GCC 2.9x :-)
https://github.com/haiku/mesa_legacy
Also, I sent an email about removing the SUNPRO C version checks, but it
seems
like it was never delivered:
"
Why not also drop the SUNPRO_C version check?
# if defined(__GNUC__) || defined(__SUNPRO_C)
I downloaded SunStudio 12 (circa 2007) and __SUNPRO_C is set to 0x590.
If we drop support for GCC 4.1 (2007), might as well drop older sun
compilers.
-- Alex
#include <stdio.h>
int
main()
{
printf("0x%X\n", __SUNPRO_C);
return 0;
}
user at desktop bin :) $ ./cc test.c
user at desktop bin :) $ ./a.out
0x590
user at desktop bin :) $
"
-- Alex
More information about the mesa-dev
mailing list