Skip to content

FreeBSD 10 uses clang by default, with gcc not available by default#9

Closed
avsm wants to merge 1 commit intoocaml:trunkfrom
avsm:fix-freebsd10-compilation
Closed

FreeBSD 10 uses clang by default, with gcc not available by default#9
avsm wants to merge 1 commit intoocaml:trunkfrom
avsm:fix-freebsd10-compilation

Conversation

@avsm
Copy link
Member

@avsm avsm commented Feb 11, 2014

This fixes the configure script to use clang by default if available
on FreeBSD. It shouldnt affect previous versions, but may cause a
build failure if a buggy clang is installed from ports on something
earlier than FreeBSD 10.

This fixes the configure script to use clang by default if available
on FreeBSD.  It shouldnt affect previous versions, but may cause a
build failure if a buggy clang is installed from ports on something
earlier than FreeBSD 10.
@avsm
Copy link
Member Author

avsm commented Feb 11, 2014

I've only tested this on FreeBSD 10.0 x86_64, and so it needs to be verified on x86_32 too (/cc @pgj in case he's got access to a 32-bit box)

@pgj
Copy link

pgj commented Feb 11, 2014

Sure, I can test it. For what it is worth, once you have a 64-bit FreeBSD system, you can create a 32-bit chroot(8) environment or a 32-bit jail(8) on the top of it. All you need is to unpack the 32-bit the base system .txz file into a directory, mount devfs or its dev directory, then choot(8) into it. (Note that a jail(8) automatically handles devfs(8).) Optionally, you may set the resolv.conf file if Internet access is needed.

In commands:

# mkdir 10-i386 && cd 10-i386
# fetch -q -o - http://ftp.freebsd.org/pub/FreeBSD/releases/i386/10.0-RELEASE/base.txz | tar -xf -
# mount -t devfs devfs dev
# cd .. && env UNAME_m=i386 chroot 10-i386 /bin/sh

@avsm
Copy link
Member Author

avsm commented Feb 11, 2014

The chroot tip is very helpful, thanks! I'll give it a shot later on.

@gasche
Copy link
Member

gasche commented May 2, 2014

If I understood correctly, #41 fixed the issue. Do not hesitate to ping me if that's not the case. Sorry for the delay on the relatively trivial change, anyway.

@gasche gasche closed this May 2, 2014
lpw25 referenced this pull request in lpw25/ocaml Dec 7, 2015
Add v=0x400 to OCAMLRUNPARAM to print more Gc stats on exit
mshinwell referenced this pull request in mshinwell/ocaml Jan 18, 2016
xclerc pushed a commit to xclerc/ocaml that referenced this pull request Oct 26, 2017
dra27 referenced this pull request in dra27/ocaml Mar 20, 2019
ppx_sexp_conv >= v0.11 has a runtime dependency
@Fourchaux Fourchaux mentioned this pull request May 24, 2019
stedolan pushed a commit to stedolan/ocaml that referenced this pull request Feb 20, 2020
Added some more barrier events to calculate slack in the synchronisation phase
@avsm avsm deleted the fix-freebsd10-compilation branch August 1, 2020 21:14
stedolan added a commit to stedolan/ocaml that referenced this pull request Mar 22, 2022
…s to [@extension.local] (ocaml#9)

Attempts to make local allocations without -extension local are now caught at Lambda generation time.
stedolan added a commit to stedolan/ocaml that referenced this pull request May 24, 2022
da6ff04 Accept [@ocaml.local] without -extension, and move autogenerated attrs to [@extension.local] (ocaml#9)
30ce67d Improve inclusion error messages for [@local_opt] (ocaml#10)
f925a62 Remove some uneeded mode variables (ocaml#8)
dec721c Local solver speedups (ocaml#7)
e9afc49 Fix check_all_arches build
0b9b32a Fix i386 build
a515093 Merge flambda-backend changes

git-subtree-dir: ocaml
git-subtree-split: da6ff04
favonia pushed a commit to favonia/fork4pr-ocaml that referenced this pull request Jul 9, 2022
Fix add_extension for Unhandled_effect
EmileTrotignon pushed a commit to EmileTrotignon/ocaml that referenced this pull request Jan 12, 2024
Octachron pushed a commit that referenced this pull request Jul 18, 2024
The filename ça.ml is NFD normalized. The test source now the two
normalizations for each unit identifiers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants