Skip to content

Build failure with latest version of xcode on OSX #6346

Description

@vicuna

Original bug ID: 6346
Reporter: @diml
Assigned to: @garrigue
Status: closed (set by @xavierleroy on 2015-12-11T18:28:08Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.01.0
Fixed in version: 4.02.0+dev
Category: configure and build/install
Has duplicate: #6347

Bug description

It seems that the latest version of clang does not accept the -fno-defer-pop argument on OSX. See these tickets on github:

ocaml/opam#1236
ocaml/opam#1242

AFAIK, this flag was never supported by clang and now it makes clang to fail. So I think it is better to just remove it when using clang.

I did a small patch to fix this on OSX. As gcc is now a symlink to clang by default, the configure script looks at the output of "$bytecc --version" to check whether it is clang or not.

File attachments

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions