[Flang-dev] non-generic code path

blubee blubeeme gurenchan at gmail.com
Tue Sep 25 04:53:19 EDT 2018


On Thu, Sep 20, 2018, 08:14 blubee blubeeme <gurenchan at gmail.com> wrote:

> I currently compile flang with the generic && common code paths and that
> works just fine.
>
> I wanted to get an understanding of the cpu specific code paths but I am a
> little confused, do I need CUDA or some nvidia specific drivers to resolve
> these undefined functions?
>
> cmake identifies FreeBSD as amd64 instead of x86_64 although x86_64 code
> usually works on FreeBSD but that's not the issue here.
>
> I copied the libpgmath/lib/x86_64 dir to libpgmath/lib/amd64-FreeBSd and
> made some edits necessary to have the code compile w/o using the generic
> flag.
>
> Then I compile libpgmath and compiled some fortran code. They compile but
> fail at runtime with undefined reference to symbol __fd_log10_8_z2yy
>
> After examining at the libpgmath shared object with readelf -s, looking
> for UND symbols.
> I get this output: https://pastebin.com/SBRZ7KJ5
>
>
> I couldn't find any info on those __gc_* __fvs_* __fd_* symbols.
>
> How can I resolve those symbols?
>
> Best,
> Owen
>
Can I bump this issue, do I need Cuda or some Nvidia specific hardware to
use the non generic code path?

Best,
Owen

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flang-compiler.org/pipermail/flang-dev_lists.flang-compiler.org/attachments/20180925/4889e6f9/attachment.html>


More information about the flang-dev mailing list