Re: gcc-6 unresolved symbol __cpu_model in code using __builtin_cpu_supports("sse2")

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

 



On Sat, Feb 27, 2016 at 11:03:57PM +0100, Hans de Goede wrote:
> I'm having this weird issue in rawhide / f24 where I get the following
> error:
> 
> ldd -r /usr/lib64/libsfml-graphics.so
> 
> <snip>
> 
> undefined symbol: __cpu_model   (/usr/lib64/libsfml-graphics.so)

How do you link the shared library?
Do you use the gcc or g++ driver to link that, without -nostdlib?
If you say link directly with ld -shared or something similar,
then this would be caused by libgcc.a not being linked into the
shared library.

	Jakub
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux