On 09/02/2016 19:55, Max Kellermann wrote:
> On 2016/02/07 22:11, Thomas Petazzoni <thomas.petazz...@free-electrons.com> 
> wrote:
>> The mpd source code uses the C++11 <atomic> functionality, which
>> internally is implemented using the __atomic_*() gcc built-ins. On
>> certain architectures, the __atomic_*() built-ins are implemented in
>> the libatomic library that comes with the rest of the gcc runtime. Due
>> to this, code using <atomic> might need to link against libatomic,
>> otherwise one hits build issues such as:
> 
> I would expect the C++ compiler to figure out the link-time
> dependencies of its own standard library.  Why isn't that happening on
> SPARC?  This looks like a toolchain bug, doesn't it?

Why that, it's always been so for libstdc++, libsupc++, libgcc... ok
maybe not libgcc.

It's not the oddest thing I've seen when porting stuff anyway.

François.

_______________________________________________
mpd-devel mailing list
mpd-devel@musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to