[LTP] Can we assume at least GCC 4.1 for building LTP tests? (__builtin___clear_cache())
Cyril Hrubis
chrubis@suse.cz
Tue Jul 26 15:21:50 CEST 2016
Hi!
> Hi; is there a minimum GCC version we can assume for LTP tests,
> and is it GCC 4.1 or better?
>From my point of view SLES10 comes with 4.1.x which is okay, but RHEL4
has extended support till 2017 and has gcc 3.4.x not sure how much
actively it will be tested though.
And we had to add fallbacks for __sync_add_and_fetch() since some
architectures implemented it later than 4.1.2 although general support
was added in 4.1.2. So if we decide to go without configure check for
the building it has to be tested on all platforms.
And of course the safest bet is configure check and TCONF if buildin is
not supported...
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list