Hi Stuart,

On 07/10/2016 19:54, Stuart Henderson wrote:
> It doesn't build, it requires 64-bit atomic operations and the usual way
> to request these on those i386 CPUs which support it (-march=i686) didn't
> work when I tried it.

I have successfully built seamonkey on FreeBSD and on Gentoo Linux on 
x86 and they work, I also have it as binary package on Ubuntu, thus 
there must be a way to have it.
Do you think that it could depend on the compiler version used?

FreeBSD nowadays builds with clang, but Gentoo not.

https://packages.gentoo.org/packages/www-client/seamonkey

shows x86 as fine in fact. What version would you build, 2.40?

The only "trick" that I spot there in Gentoo is this:

|

if  [[  $(gcc-major-version)  -lt4  ]]  ;  then
                append-cxxflags -fno-stack-protector
        elif  [[  $(gcc-major-version)  -gt4  ||  $(gcc-minor-version)  -gt3  
]]  ;  then
                if  use amd64||  use x86;  then
                        append-flags -mno-avx
                fi
        fi

|

seems to disable AVX, I don't see any other stuff though.

Riccardo

Reply via email to