[swift-dev] Building Foundation on FreeBSD
Jordan Rose
jordan_rose at apple.com
Wed Dec 16 13:17:58 CST 2015
What's the compile command for the files that are failing? If the target triple there doesn't include a version number, it might be defaulting to something like "1.0".
Jordan
> On Dec 15, 2015, at 10:55 , Davide Italiano via swift-dev <swift-dev at swift.org> wrote:
>
> Hi,
> I'm in the process of porting Foundation to FreeBSD (see
> https://github.com/apple/swift-corelibs-foundation/pull/141).
> After fixing a bunch of build/portability errors I'm now stuck trying
> to fix an issue with modules.
> In particular, I see a lot of errors like this:
>
> <unknown>:0: error: module file's minimum deployment target is
> freebsd11.0 v11.0:
> /exps/swift/build/Ninja-ReleaseAssert/swift-freebsd-x86_64/lib/swift/freebsd/x86_64/Swift.swiftmodule
>
> The version seems to match
> $ uname -s -r
> FreeBSD 11.0-CURRENT
>
> I tried to google to get help but all I find are ways to solve this in
> XCode. I also tried to navigate the sources to find a culprit but I
> failed in doing that. Is there any easy way to get this working? Or at
> least, to ignore the deployment target version check for now (as a
> workaround) in order to make progress?
>
> Thanks,
>
> --
> Davide
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
More information about the swift-dev
mailing list