Summary: | mail/deforaos-mailer: clang 5 crashes during build | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||||
Component: | Individual Port(s) | Assignee: | Olivier Cochard <olivier> | ||||||
Status: | New --- | ||||||||
Severity: | Affects Only Me | CC: | dim, emaste, freebsd-arm, toolchain | ||||||
Priority: | --- | Keywords: | toolchain | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(olivier) |
||||||
Hardware: | arm | ||||||||
OS: | Any | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 219139 | ||||||||
Attachments: |
|
Description
Jan Beich
2018-01-17 19:16:05 UTC
Created attachment 189857 [details]
command line args (for clang 6.0)
Doh, I didn't notice Clang 5.0 was also crashing: http://beefy8.nyi.freebsd.org/data/head-armv6-default/p458501_s327711/logs/errors/deforaos-mailer-0.1.7.log Earlier Clang versions didn't crash on this port. http://beefy15.nyi.freebsd.org/data/latest-per-pkg/deforaos-mailer/0.1.7/110armv6-quarterly.log (Clang 3.8) http://beefy15.nyi.freebsd.org/data/latest-per-pkg/deforaos-mailer/0.1.7/111armv6-quarterly.log (Clang 4) Bisecting shows this to have been introduced with https://reviews.llvm.org/rL203575 ("ARM: enable tail call optimisation on Thumb 2"). Since that is a very old commit, we seem to be hitting an edge case. I'll submit a PR upstream, but I would not get my hopes up :) Submitted https://bugs.llvm.org/show_bug.cgi?id=36031. Note that tuning down the -fstack-protector setting from 3 (which means 'all') to 2 (e.g. 'strong') makes the crash go away. So maybe this can be used as a workaround. |