pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: firefox52 fails to compile on linux sparc

On Tue, Jul 7, 2020 at 9:55 PM Connor McLaughlan <> wrote:
> On Tue, Jul 7, 2020 at 9:12 PM Martin Husemann <> wrote:
> >
> > On Tue, Jul 07, 2020 at 09:02:06PM +0200, Connor McLaughlan wrote:
> > > It seems i also need to disable ipc on sparc. ipc leads to the same error:
> >
> > Are you trying to build for 32bit sparc?
> >
> > Martin
> No, this is built on/for 64bit linux.

I can not get around ipc in firefox52, --disable-ipc doesn't exist in configure.
So i guess the problem has to be solved in ipc/chromium/src/base/atomicops.h

As stated this is built on and for a 64bit linux, but it seems the
detection is only in place for *BSD:

// Use AtomicWord for a machine-sized pointer.  It will use the Atomic32 or
// Atomic64 routines below, depending on your architecture.
#if defined(OS_OPENBSD) || (defined(OS_NETBSD) && defined(ARCH_CPU_ARM_FAMILY))
#ifdef ARCH_CPU_64_BITS
typedef Atomic64 AtomicWord;
typedef Atomic32 AtomicWord;
#endif // ARCH_CPU_64_BITS
typedef intptr_t AtomicWord;
#endif // OS_OPENBSD

Any idea how i can fix this?

I will try to just set it to the supposedly correct value.

Home | Main Index | Thread Index | Old Index