tech-pkg archive

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

Re: using clang from pkgsrc to build packages?



Havard Eidnes <he%uninett.no@localhost> writes:

> ... on NetBSD/amd64 8.0, pkgsrc defaults to build e.g.
> gnustep-base with clang, but fails with this excerpt from

I had no idea.  This is a wrinkle, but I think our choices are

  don't worry and let it be

  stop abusing PKGSRC_COMPILER, and fail the build if the chosen
  compiler is gcc


Regarding the issue:

> (and more undefined _Unwind* symbols).  Hm, the libobjc.so it
> links with is from gnustep-objc, and contrary to the base system
> libobjc.so, it doesn't have a run-time dependency on libgcc_s.so
> which defines these symbols:
>
> d3: {16} ldd /usr/pkgsrc/devel/gnustep-base/work/.buildlink/lib/libobjc.so
> /usr/pkgsrc/devel/gnustep-base/work/.buildlink/lib/libobjc.so:
>         -lpthread.1 => /usr/lib/libpthread.so.1
>         -lc.12 => /usr/lib/libc.so.12

On netbsd-7 amd6:

$ ldd /usr/pkg/lib/libobjc.so.4.6.0
/usr/pkg/lib/libobjc.so.4.6.0:
         -lpthread.1 => /usr/lib/libpthread.so.1
         -lgcc_s.1 => /usr/lib/libgcc_s.so.1
         -lc.12 => /usr/lib/libc.so.12

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index