Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 09:36:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 214258] devel/openmp: spurious libm dependency
Message-ID:  <bug-214258-29464-s5oEiRO3VG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214258-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214258-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214258

--- Comment #4 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
Comment on attachment 179304
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179304
ports/devel/openmp/files/patch-link-libm.patch

The workaround isn't really correct. FreeBSD versions before 11.0 don't rea=
lly
need -lm.

$ clang40 -fopenmp omp_hello.c
$ ldd a.out
a.out:
        libomp.so =3D> /usr/local/llvm40/lib/libomp.so (0x80081f000)
        libc.so.7 =3D> /lib/libc.so.7 (0x800aa3000)
        libthr.so.3 =3D> /lib/libthr.so.3 (0x800e50000)

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214258-29464-s5oEiRO3VG>