gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] gpsd fails to build on mac 10.7


From: Greg Troxel
Subject: [gpsd-dev] gpsd fails to build on mac 10.7
Date: Tue, 05 Nov 2013 20:28:36 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.4 (berkeley-unix)

I think there are several problems.  One is the new insistence on memory
barriers, but the barriers are a gcc extension, not anything in
standards.

My system has three compilers:

gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)

while these might be not the newest, they are hardly ancient and crufty.

So it seems the immediate fix is that barrier() should just be defined
as a no-op if there isn't compiler-specific fix.

Has anyone actually seen a bug due to missing barriers?  (I get the
theory.)

What is one supposed to do while complying with C99 and POSIX?  Relying
on gcc extensions is very 00s.

Attachment: pgpAUT84EHv0J.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]