Comments (5)
I managed to translate most of libffi
build rules to the new build system, see Rules/Libffi.hs
, and now have a working build on Windows. I'm pretty sure we'll be coming back to this at some point, but I'll close this for now.
Please reopen this issue if you have any problems related to libffi
.
from hadrian.
Looks like we can successfully build libffi
on OS X as well:
/----------
| Running Tar (stage = Stage0, package = libffi):
| input: libffi-tarballs/libffi-3.2.1.tar.gz
| => output: libffi-tarballs
\----------
| Move libffi-tarballs/libffi-3.2.1 -> libffi/build
| Fix libffi/build/Makefile.in
| Copy config.guess -> libffi/build/config.guess
| Copy config.sub -> libffi/build/config.sub
| Running libffi configure...
# bash (for libffi/build/inst/lib/libffi.a)
checking build system type... x86_64-apple-darwin15.2.0
checking host system type... x86_64-apple-darwin
checking target system type... x86_64-apple-darwin
continue configure in default builddir "./x86_64-apple-darwin"
....exec /bin/sh ../configure "--srcdir=.." "--enable-builddir=x86_64-apple-darwin" "darwin"
checking build system type... x86_64-apple-darwin15.2.0
checking host system type... x86_64-apple-darwin
checking target system type... x86_64-apple-darwin
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... ../install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-apple-darwin-gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking dependency style of /usr/bin/clang... gcc3
checking dependency style of /usr/bin/clang... gcc3
checking whether /usr/bin/clang and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin15.2.0 file names to x86_64-apple-darwin format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.2.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-apple-darwin-objdump... no
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for x86_64-apple-darwin-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-apple-darwin-ar... /usr/bin/ar
checking for archiver @FILE support... no
checking for x86_64-apple-darwin-strip... strip
checking for x86_64-apple-darwin-ranlib... /usr/bin/ranlib
checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok
checking for sysroot... no
checking for x86_64-apple-darwin-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for x86_64-apple-darwin-dsymutil... no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin-nmedit... no
checking for nmedit... nmedit
checking for x86_64-apple-darwin-lipo... no
checking for lipo... lipo
checking for x86_64-apple-darwin-otool... no
checking for otool... otool
checking for x86_64-apple-darwin-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... /usr/bin/clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /usr/bin/clang -E
checking for ld used by /usr/bin/clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/clang linker (/usr/bin/ld) supports shared libraries... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin dyld
checking how to hardcode library paths into programs... immediate
checking size of size_t... 8
checking for C compiler vendor... clang
checking CFLAGS for maximum warnings... -Wall
checking whether to enable maintainer-specific portions of Makefiles... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for mkostemp... no
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... no
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking size of double... 8
checking size of long double... 16
checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... yes
checking for _ prefix in compiled symbols... yes
checking whether .eh_frame section should be read-only... expr: syntax error
no
checking for __attribute__((visibility("hidden")))... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: linking ../src/x86/ffitarget.h to include/ffitarget.h
config.status: executing buildir commands
config.status: create top_srcdir/Makefile guessed from local Makefile
config.status: buggy sed found - it deletes tab in "a" text parts
config.status: build in x86_64-apple-darwin (HOST=)
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
| Running make...
# make (for libffi/build/inst/lib/libffi.a)
MAKE x86_64-apple-darwin15.2.0 : 0 * all-all
/Applications/Xcode.app/Contents/Developer/usr/bin/make 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-m64 -fno-stack-protector -w -Wall -fexceptions' 'CXXFLAGS=-g -O2' 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/bin/install -c' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_PROGRAM=/usr/bin/install -c' 'INSTALL_SCRIPT=/usr/bin/install -c' 'JC1FLAGS=' 'LDFLAGS=-w' 'LIBCFLAGS=' 'LIBCFLAGS_FOR_TARGET=' 'MAKE=/Applications/Xcode.app/Contents/Developer/usr/bin/make' 'MAKEINFO=/bin/sh /Users/angerman/Projects/Haskell/ghc/libffi/build/missing makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh' 'exec_prefix=/Users/angerman/Projects/Haskell/ghc/libffi/build/inst' 'infodir=/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/share/info' 'libdir=/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib' 'mandir=/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/share/man' 'prefix=/Users/angerman/Projects/Haskell/ghc/libffi/build/inst' 'AR=/usr/bin/ar' 'AS=as' 'CC=/usr/bin/clang' 'CXX=/usr/bin/clang' 'LD=/usr/bin/ld' 'NM=/usr/bin/nm' 'RANLIB=/usr/bin/ranlib' 'DESTDIR=' all-recursive
Making all in include
make[3]: Nothing to be done for `all'.
Making all in testsuite
make[3]: Nothing to be done for `all'.
Making all in man
make[3]: Nothing to be done for `all'.
depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/prep_cif.lo -MMD -MP -MF $depbase.Tpo -c -o src/prep_cif.lo ../src/prep_cif.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/prep_cif.lo -MMD -MP -MF src/.deps/prep_cif.Tpo -c ../src/prep_cif.c -o src/prep_cif.o
depbase=`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/types.lo -MMD -MP -MF $depbase.Tpo -c -o src/types.lo ../src/types.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/types.lo -MMD -MP -MF src/.deps/types.Tpo -c ../src/types.c -o src/types.o
depbase=`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/raw_api.lo -MMD -MP -MF $depbase.Tpo -c -o src/raw_api.lo ../src/raw_api.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/raw_api.lo -MMD -MP -MF src/.deps/raw_api.Tpo -c ../src/raw_api.c -o src/raw_api.o
depbase=`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/java_raw_api.lo -MMD -MP -MF $depbase.Tpo -c -o src/java_raw_api.lo ../src/java_raw_api.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/java_raw_api.lo -MMD -MP -MF src/.deps/java_raw_api.Tpo -c ../src/java_raw_api.c -o src/java_raw_api.o
depbase=`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/closures.lo -MMD -MP -MF $depbase.Tpo -c -o src/closures.lo ../src/closures.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/closures.lo -MMD -MP -MF src/.deps/closures.Tpo -c ../src/closures.c -o src/closures.o
depbase=`echo src/x86/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/x86/ffi.lo -MMD -MP -MF $depbase.Tpo -c -o src/x86/ffi.lo ../src/x86/ffi.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/x86/ffi.lo -MMD -MP -MF src/x86/.deps/ffi.Tpo -c ../src/x86/ffi.c -o src/x86/ffi.o
depbase=`echo src/x86/darwin.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -MT src/x86/darwin.lo -MMD -MP -MF $depbase.Tpo -c -o src/x86/darwin.lo ../src/x86/darwin.S &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -MT src/x86/darwin.lo -MMD -MP -MF src/x86/.deps/darwin.Tpo -c ../src/x86/darwin.S -o src/x86/darwin.o
depbase=`echo src/x86/ffi64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/x86/ffi64.lo -MMD -MP -MF $depbase.Tpo -c -o src/x86/ffi64.lo ../src/x86/ffi64.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -Wall -fexceptions -MT src/x86/ffi64.lo -MMD -MP -MF src/x86/.deps/ffi64.Tpo -c ../src/x86/ffi64.c -o src/x86/ffi64.o
depbase=`echo src/x86/darwin64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -MT src/x86/darwin64.lo -MMD -MP -MF $depbase.Tpo -c -o src/x86/darwin64.lo ../src/x86/darwin64.S &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -m64 -fno-stack-protector -w -MT src/x86/darwin64.lo -MMD -MP -MF src/x86/.deps/darwin64.Tpo -c ../src/x86/darwin64.S -o src/x86/darwin64.o
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/clang -m64 -fno-stack-protector -w -Wall -fexceptions -w -o libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffi.lo src/x86/darwin.lo src/x86/ffi64.lo src/x86/darwin64.lo
libtool: link: /usr/bin/ar cru .libs/libffi_convenience.a src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/x86/ffi.o src/x86/darwin.o src/x86/ffi64.o src/x86/darwin64.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libffi_convenience.a(ffi.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libffi_convenience.a(darwin.o) has no symbols
libtool: link: /usr/bin/ranlib .libs/libffi_convenience.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libffi_convenience.a(ffi.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libffi_convenience.a(darwin.o) has no symbols
libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" )
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/clang -m64 -fno-stack-protector -w -Wall -fexceptions -no-undefined -version-info `grep -v '^#' ../libtool-version` '-w' -w -o libffi.la -rpath /Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffi.lo src/x86/darwin.lo src/x86/ffi64.lo src/x86/darwin64.lo
libtool: link: /usr/bin/ar cru .libs/libffi.a src/prep_cif.o src/types.o src/raw_api.o src/java_raw_api.o src/closures.o src/x86/ffi.o src/x86/darwin.o src/x86/ffi64.o src/x86/darwin64.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libffi.a(ffi.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libffi.a(darwin.o) has no symbols
libtool: link: /usr/bin/ranlib .libs/libffi.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libffi.a(ffi.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libffi.a(darwin.o) has no symbols
libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" )
| Running make install...
# make (for libffi/build/inst/lib/libffi.a)
MAKE x86_64-apple-darwin15.2.0 : 0 * install
Making install in include
make[3]: Nothing to be done for `install-exec-am'.
../../install-sh -c -d '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/libffi-3.2.1/include'
/usr/bin/install -c -m 644 ffi.h ffitarget.h '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/libffi-3.2.1/include'
Making install in testsuite
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in man
make[3]: Nothing to be done for `install-exec-am'.
../../install-sh -c -d '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/share/man/man3'
/usr/bin/install -c -m 644 ../../man/ffi.3 ../../man/ffi_call.3 ../../man/ffi_prep_cif.3 ../../man/ffi_prep_cif_var.3 '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/share/man/man3'
../install-sh -c -d '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libffi.la '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib'
libtool: install: /usr/bin/install -c .libs/libffi.lai /Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/libffi.la
libtool: install: /usr/bin/install -c .libs/libffi.a /Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/libffi.a
libtool: install: chmod 644 /Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/libffi.a
libtool: install: /usr/bin/ranlib /Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/libffi.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/libffi.a(ffi.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/libffi.a(darwin.o) has no symbols
../install-sh -c -d '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/share/info'
/usr/bin/install -c -m 644 ../doc/libffi.info '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/share/info'
install-info --info-dir='/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/share/info' '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/share/info/libffi.info'
../install-sh -c -d '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/pkgconfig'
/usr/bin/install -c -m 644 libffi.pc '/Users/angerman/Projects/Haskell/ghc/libffi/build/inst/lib/pkgconfig'
| Successfully built custom library 'libffi'
| Copy libffi/build/inst/lib/libffi-3.2.1/include/ffitarget.h -> rts/stage1/build/ffitarget.h
| Copy libffi/build/inst/lib/libffi-3.2.1/include/ffi.h -> rts/stage1/build/ffi.h
from hadrian.
Excellent, thanks for testing. I was worried we might have some problems related to wc -w
(see a missing piece of code in a bottom comment in Rules/Libffi.hs
).
from hadrian.
I think there is a lot of left over stuff in the build system, spanning multiple operating system versions. So comments might refer to previous systems. I'm testing with the latest OS X (10.11.2), so there might be issues on older versions. I would vote for, simplify and see if people complain, and once they complain figure out what the best solution is. Part of this project is to also modernize, streamline and remove cruft of the old build system, no?
from hadrian.
Yes, I completely agree. That's why I try not to pull everything into the new build system. Some chunks appear to be dead code. If anyone starts to complain we'll bring the missing pieces back.
from hadrian.
Related Issues (20)
- _build/stage0/bin/ghc.exe misses dependency HOT 14
- Rules for rts/rts.cabal are broken HOT 15
- Should Hadrian build ghctags and haddock in Stage1? HOT 3
- Documentation broken HOT 2
- Custom build root does not work on Windows HOT 2
- Symlink traversing logic in build scripts HOT 25
- GHC testsuite rules status HOT 25
- Reduce the number of times a Cabal file is parsed HOT 13
- Improve documentation of predicates
- Build more variants of profiled runtime systems (normal, threaded, debug, threaded debug, ...) ? HOT 8
- Consider using Azure for CI HOT 1
- testsuite: support figuring out the list of tests from $PWD HOT 1
- testsuite: add CLI flag for specifying extra options to pass to ghc HOT 1
- rts: buggy handling of non-trivial dynamic flavours of the library HOT 14
- ctrl + c doesn't cancel build on windows HOT 5
- Building on windows is broken. HOT 23
- --integer-simple is broken HOT 40
- Hadrian has been merged into GHC proper HOT 4
- `happy` is not properly auto built in a fresh install HOT 11
- Issue on Trac: 15908 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hadrian.