Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: userland atomics
On May 12, 8:51am, Adam Hoka wrote:
} Patrick Welche wrote:
} > On Fri, Dec 12, 2008 at 08:45:32PM -0800, John Nemeth wrote:
} > > Supposedly it trys to link that. It should fail at configure
} > > time. The configure.ac snippet is:
} > >
} > > AC_MSG_CHECKING(for compiler atomic operations)
} > > AC_LINK_IFELSE(
} > > AC_LANG_PROGRAM([], [int foo1; int foo2 =3D __sync_fetch_and_add(&foo1,}
1);]),
} > > AC_MSG_RESULT(yes)
} > > AC_DEFINE([HAVE_GCC_ATOMICS], 1, [Define to 1 if your GCC C compiler
provides atomic operations.]),
} > > AC_MSG_RESULT(no)
} > > )
} >
} > That looks right - what does config.log have to say about it?
}
} Well, it seems it doesn't work on NetBSD 5.0, at least I got the same
} missing symbol when I tried to build pulseaudio.
It seems to be some kind of pkgsrc issue. I tried building
Asterisk outside of pkgsrc and it worked correctly. I haven't had time
to locate the issue.
}-- End of excerpt from Adam Hoka
Home |
Main Index |
Thread Index |
Old Index