Skip to content

Instantly share code, notes, and snippets.

@Ken-B
Created April 29, 2016 16:06
Show Gist options
  • Save Ken-B/f9fb17c0f2cc8c500f0eef770934e49f to your computer and use it in GitHub Desktop.
Save Ken-B/f9fb17c0f2cc8c500f0eef770934e49f to your computer and use it in GitHub Desktop.
julia osx compilation fail 20160429
gast218a:Coding ken$ git clone git://github.com/JuliaLang/julia.git
Cloning into 'julia'...
remote: Counting objects: 175221, done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 175221 (delta 65), reused 0 (delta 0), pack-reused 175071
Receiving objects: 100% (175221/175221), 97.78 MiB | 10.32 MiB/s, done.
Resolving deltas: 100% (133358/133358), done.
Checking connectivity... done.
gast218a:Coding ken$ cd julia
gast218a:julia ken$ make
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 371 100 371 0 0 405 0 --:--:-- --:--:-- --:--:-- 509
100 714k 100 714k 0 0 301k 0 0:00:02 0:00:02 --:--:-- 694k
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/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 build system type... x86_64-apple-darwin15.4.0
checking host system type... x86_64-apple-darwin15.4.0
checking for gcc... clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64
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 clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 accepts -g... yes
checking for clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 option to accept ISO C89... none needed
checking whether clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 ... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking whether make supports nested variables... (cached) 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 clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 ... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) 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.4.0 file names to x86_64-apple-darwin15.4.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin15.4.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -dylib -arch x86_64 -macosx_version_min 10.7.0 -o libconftest.dylib -single_module /var/folders/h9/8wp6_1kx6_v6wm7_vy5w_pbm0000gn/T/conftest-f9c5ab.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a
no
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.7.0 -o conftest -lcrt1.10.6.o /var/folders/h9/8wp6_1kx6_v6wm7_vy5w_pbm0000gn/T/conftest-847292.o -force_load ./libconftest.a -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/lib/darwin/libclang_rt.osx.a
no
checking how to run the C preprocessor... clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 -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 clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 supports -fno-rtti -fno-exceptions... yes
checking for clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 option to produce PIC... -fno-common -DPIC
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 PIC flag -fno-common -DPIC works... yes
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 static flag -static works... no
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 supports -c -o file.o... yes
checking if clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 supports -c -o file.o... (cached) yes
checking whether the clang -stdlib=libc++ -mmacosx-version-min=10.7 -m64 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.4.0 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... yes
checking whether to build static libraries... yes
checking for dlopen in -ldl... yes
checking for kstat_lookup in -lkstat... no
checking for kvm_open in -lkvm... no
checking for gethostbyname in -lnsl... no
checking for perfstat_cpu in -lperfstat... no
checking for pthread_mutex_init in -lpthread... yes
checking for clock_gettime in -lrt... no
checking for sendfile in -lsendfile... no
checking for socket in -lsocket... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for dtrace... dtrace
checking if dtrace works... yes
checking if dtrace should instrument object files... no
checking for pkg-config... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libuv.pc
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/sh ./config.status
config.status: creating libuv.pc
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
GEN include/uv-dtrace.h
CC src/libuv_la-fs-poll.lo
CC src/libuv_la-inet.lo
CC src/libuv_la-uv-common.lo
CC src/libuv_la-version.lo
CC src/unix/libuv_la-async.lo
CC src/unix/libuv_la-core.lo
CC src/unix/libuv_la-dl.lo
CC src/unix/libuv_la-fs.lo
CC src/unix/libuv_la-getaddrinfo.lo
CC src/unix/libuv_la-getnameinfo.lo
CC src/unix/libuv_la-loop-watcher.lo
CC src/unix/libuv_la-loop.lo
CC src/unix/libuv_la-pipe.lo
CC src/unix/libuv_la-poll.lo
CC src/unix/libuv_la-process.lo
CC src/unix/libuv_la-signal.lo
CC src/unix/libuv_la-stream.lo
CC src/unix/libuv_la-tcp.lo
CC src/unix/libuv_la-thread.lo
CC src/unix/libuv_la-threadpool.lo
CC src/unix/libuv_la-timer.lo
CC src/unix/libuv_la-tty.lo
CC src/unix/libuv_la-udp.lo
CC src/unix/libuv_la-darwin.lo
CC src/unix/libuv_la-darwin-proctitle.lo
CC src/unix/libuv_la-fsevents.lo
CC src/unix/libuv_la-kqueue.lo
CC src/unix/libuv_la-proctitle.lo
CCLD libuv.la
/Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/install-sh -c -d '/Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libuv.la '/Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib'
libtool: install: /usr/bin/install -c .libs/libuv.11.dylib /Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib/libuv.11.dylib
libtool: install: (cd /Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib && { ln -s -f libuv.11.dylib libuv.dylib || { rm -f libuv.dylib && ln -s libuv.11.dylib libuv.dylib; }; })
libtool: install: /usr/bin/install -c .libs/libuv.lai /Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib/libuv.la
libtool: install: /usr/bin/install -c .libs/libuv.a /Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib/libuv.a
libtool: install: chmod 644 /Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib/libuv.a
libtool: install: ranlib /Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib/libuv.a
libtool: install: warning: remember to run `libtool --finish /Users/ken/Documents/Coding/julia/usr/lib'
/Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/install-sh -c -d '/Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/include'
/usr/bin/install -c -m 644 /Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/include/uv.h /Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/include/uv-errno.h /Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/include/uv-version.h /Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/include/uv-unix.h /Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/include/uv-darwin.h '/Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/include'
/Users/ken/Documents/Coding/julia/deps/srccache/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/install-sh -c -d '/Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 libuv.pc '/Users/ken/Documents/Coding/julia/usr-staging/libuv-07730c4bd595b4d45a498a8ee0bcd53878ff7c10/Users/ken/Documents/Coding/julia/usr/lib/pkgconfig'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 331 100 331 0 0 630 0 --:--:-- --:--:-- --:--:-- 634
100 84355 100 84355 0 0 53818 0 0:00:01 0:00:01 --:--:-- 131k
make[2]: Circular src/libuwind.cxx <- src/libuwind.cxx.o dependency dropped.
/opt/local/bin/ranlib: file: libosxunwind.a(Unwind-sjlj.c.o) has no symbols
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 377 100 377 0 0 355 0 0:00:01 0:00:01 --:--:-- 356
100 271k 100 271k 0 0 143k 0 0:00:01 0:00:01 --:--:-- 817k
src/e_j0.c:281:10: warning: variable 'p' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~
src/e_j0.c:283:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j0.c:281:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0.c:273:17: note: initialize the variable 'p' to silence this warning
const double *p,*q;
^
= 0
src/e_j0.c:281:10: warning: variable 'q' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~
src/e_j0.c:284:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
^
src/e_j0.c:281:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0.c:273:20: note: initialize the variable 'q' to silence this warning
const double *p,*q;
^
= 0
src/e_j0.c:376:10: warning: variable 'p' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~
src/e_j0.c:378:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j0.c:376:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0.c:368:17: note: initialize the variable 'p' to silence this warning
const double *p,*q;
^
= 0
src/e_j0.c:376:10: warning: variable 'q' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~
src/e_j0.c:379:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
^
src/e_j0.c:376:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0.c:368:20: note: initialize the variable 'q' to silence this warning
const double *p,*q;
^
= 0
4 warnings generated.
src/e_j0f.c:237:10: warning: variable 'p' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~
src/e_j0f.c:239:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j0f.c:237:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0f.c:229:16: note: initialize the variable 'p' to silence this warning
const float *p,*q;
^
= 0
src/e_j0f.c:237:10: warning: variable 'q' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~
src/e_j0f.c:240:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
^
src/e_j0f.c:237:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pR2; q= pS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0f.c:229:19: note: initialize the variable 'q' to silence this warning
const float *p,*q;
^
= 0
src/e_j0f.c:332:10: warning: variable 'p' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~
src/e_j0f.c:334:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j0f.c:332:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0f.c:324:16: note: initialize the variable 'p' to silence this warning
const float *p,*q;
^
= 0
src/e_j0f.c:332:10: warning: variable 'q' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~
src/e_j0f.c:335:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
^
src/e_j0f.c:332:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qR2; q= qS2;}
^~~~~~~~~~~~~~~~~~
src/e_j0f.c:324:19: note: initialize the variable 'q' to silence this warning
const float *p,*q;
^
= 0
4 warnings generated.
src/e_j1.c:275:17: warning: variable 'p' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~
src/e_j1.c:277:13: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j1.c:275:14: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~~~~~
src/e_j1.c:267:17: note: initialize the variable 'p' to silence this warning
const double *p,*q;
^
= 0
src/e_j1.c:275:17: warning: variable 'q' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~
src/e_j1.c:278:20: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
^
src/e_j1.c:275:14: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~~~~~
src/e_j1.c:267:20: note: initialize the variable 'q' to silence this warning
const double *p,*q;
^
= 0
src/e_j1.c:371:10: warning: variable 'p' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~
src/e_j1.c:373:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j1.c:371:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~~~~~
src/e_j1.c:363:17: note: initialize the variable 'p' to silence this warning
const double *p,*q;
^
= 0
src/e_j1.c:371:10: warning: variable 'q' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~
src/e_j1.c:374:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
^
src/e_j1.c:371:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~~~~~
src/e_j1.c:363:20: note: initialize the variable 'q' to silence this warning
const double *p,*q;
^
= 0
4 warnings generated.
src/e_j1f.c:232:17: warning: variable 'p' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~
src/e_j1f.c:234:13: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j1f.c:232:14: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~~~~~
src/e_j1f.c:224:16: note: initialize the variable 'p' to silence this warning
const float *p,*q;
^
= 0
src/e_j1f.c:232:17: warning: variable 'q' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~
src/e_j1f.c:235:20: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
^
src/e_j1f.c:232:14: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = pr2; q= ps2;}
^~~~~~~~~~~~~~~~~~
src/e_j1f.c:224:19: note: initialize the variable 'q' to silence this warning
const float *p,*q;
^
= 0
src/e_j1f.c:328:10: warning: variable 'p' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~
src/e_j1f.c:330:6: note: uninitialized use occurs here
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
^
src/e_j1f.c:328:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~~~~~
src/e_j1f.c:320:16: note: initialize the variable 'p' to silence this warning
const float *p,*q;
^
= 0
src/e_j1f.c:328:10: warning: variable 'q' is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~
src/e_j1f.c:331:13: note: uninitialized use occurs here
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
^
src/e_j1f.c:328:7: note: remove the 'if' if its condition is always true
else if(ix>=0x40000000){p = qr2; q= qs2;}
^~~~~~~~~~~~~~~~~~
src/e_j1f.c:320:19: note: initialize the variable 'q' to silence this warning
const float *p,*q;
^
= 0
4 warnings generated.
src/s_exp2.c:378:17: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if (k >= -1021 << 20)
~~~~~ ^
src/s_exp2.c:385:16: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
if(k >= -1021 << 20) {
~~~~~ ^
2 warnings generated.
src/w_cabsf.c:9:19: warning: unused variable 'rcsid' [-Wunused-const-variable]
static const char rcsid[] =
^
1 warning generated.
amd64/fenv.c:51:15: warning: attribute declaration must precede definition
[-Wignored-attributes]
extern inline DLLEXPORT int feclearexcept(int __excepts);
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/src/math_private.h:373:35: note:
expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/amd64/fenv.h:97:1: note:
previous definition is here
feclearexcept(int __excepts)
^
amd64/fenv.c:52:15: warning: attribute declaration must precede definition
[-Wignored-attributes]
extern inline DLLEXPORT int fegetexceptflag(fexcept_t *__flagp, int __excepts);
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/src/math_private.h:373:35: note:
expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/amd64/fenv.h:115:1: note:
previous definition is here
fegetexceptflag(fexcept_t *__flagp, int __excepts)
^
amd64/fenv.c:82:15: warning: attribute declaration must precede definition
[-Wignored-attributes]
extern inline DLLEXPORT int fetestexcept(int __excepts);
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/src/math_private.h:373:35: note:
expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/amd64/fenv.h:130:1: note:
previous definition is here
fetestexcept(int __excepts)
^
amd64/fenv.c:83:15: warning: attribute declaration must precede definition
[-Wignored-attributes]
extern inline DLLEXPORT int fegetround(void);
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/src/math_private.h:373:35: note:
expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/amd64/fenv.h:141:1: note:
previous definition is here
fegetround(void)
^
amd64/fenv.c:84:15: warning: attribute declaration must precede definition
[-Wignored-attributes]
extern inline DLLEXPORT int fesetround(int __round);
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/src/math_private.h:373:35: note:
expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/amd64/fenv.h:156:1: note:
previous definition is here
fesetround(int __round)
^
amd64/fenv.c:115:15: warning: attribute declaration must precede definition
[-Wignored-attributes]
extern inline DLLEXPORT int fesetenv(const fenv_t *__envp);
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/src/math_private.h:373:35: note:
expanded from macro 'DLLEXPORT'
#define DLLEXPORT __attribute__ ((visibility("default")))
^
/Users/ken/Documents/Coding/julia/deps/build/openlibm-3ee2a6e6a9fc68cbf2ab00f830b9059215e40b06/amd64/fenv.h:181:1: note:
previous definition is here
fesetenv(const fenv_t *__envp)
^
6 warnings generated.
In file included from test-double.c:34:
./libm-test.c:748:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(acos) (0);
^~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:778:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(acosh) (7);
^~~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:801:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(asin) (0);
^~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:831:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(asinh) (0.7L);
^~~~~ ~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:854:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(atan) (0);
^~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:882:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(atanh) (0.7L);
^~~~~ ~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:910:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(atan2) (-0, 1);
^~~~~ ~~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:1489:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(cbrt) (8);
^~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:1929:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(cos) (0);
^~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:1955:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(cosh) (0.7L);
^~~~ ~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:2358:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(erf) (0);
^~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:2386:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(erfc) (0);
^~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:2413:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(exp) (0);
^~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:2474:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(exp2) (0);
^~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:2500:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(expm1) (0);
^~~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:2527:39: warning: using floating point absolute value function
'fabs' when argument is of integer type [-Wabsolute-value]
check_float ("fabs (0) == 0", FUNC(fabs) (0), 0, 0, 0, 0);
^
./libm-test.c:2527:39: note: use function 'abs' instead
check_float ("fabs (0) == 0", FUNC(fabs) (0), 0, 0, 0, 0);
~~~~~^~~~~
abs
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^
In file included from test-double.c:34:
./libm-test.c:2535:40: warning: absolute value function 'fabs' given an argument
of type 'long double' but has parameter of type 'double' which may cause
truncation of value [-Wabsolute-value]
check_float ("fabs (-e) == e", FUNC(fabs) (-M_El), M_El, 0, 0, 0);
^
./libm-test.c:2535:40: note: use function 'fabsl' instead
check_float ("fabs (-e) == e", FUNC(fabs) (-M_El), M_El, 0, 0, 0);
~~~~~^~~~~
fabsl
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^
In file included from test-double.c:34:
./libm-test.c:2697:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(fmod) (6.5, 2.3L);
^~~~ ~~~~~~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:2780:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(gamma) (1);
^~~~~ ~
./libm-test.c:2774:15: note: expanded from macro 'gamma'
#define gamma lgamma /* XXX scp XXX */
^~~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:2823:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(hypot) (0.7L, 12.4L);
^~~~~ ~~~~~~~~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:3074:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(lgamma) (0);
^~~~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:3191:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(log) (1);
^~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:3219:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(log10) (1);
^~~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:3252:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(log1p) (0);
^~~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:3280:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(log2) (1);
^~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:3520:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(pow) (0, 0);
^~~ ~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:3696:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(remainder) (1.625, 1.0);
^~~~~~~~~ ~~~~~~~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:3928:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(sin) (0);
^~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:4003:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(sinh) (0.7L);
^~~~ ~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:4030:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(sqrt) (1);
^~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:4063:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(tan) (0);
^~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:4086:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(tanh) (0.7L);
^~~~ ~~~~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
In file included from test-double.c:34:
./libm-test.c:4118:8: warning: ignoring return value of function declared with
const attribute [-Wunused-value]
FUNC(tgamma) (1);
^~~~~~ ~
test-double.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function
^~~~~~~~
33 warnings generated.
In file included from test-float.c:34:
./libm-test.c:2527:34: warning: using floating point absolute value function
'fabsf' when argument is of integer type [-Wabsolute-value]
check_float ("fabs (0) == 0", FUNC(fabs) (0), 0, 0, 0, 0);
^
test-float.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function ## f
^
<scratch space>:446:1: note: expanded from here
fabsf
^
./libm-test.c:2527:34: note: use function 'abs' instead
check_float ("fabs (0) == 0", FUNC(fabs) (0), 0, 0, 0, 0);
^~~~~~~~~~
abs
test-float.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function ## f
^
<scratch space>:446:1: note: expanded from here
fabsf
^
In file included from test-float.c:34:
./libm-test.c:2534:40: warning: absolute value function 'fabsf' given an argument
of type 'double' but has parameter of type 'float' which may cause
truncation of value [-Wabsolute-value]
check_float ("fabs (38.0) == 38.0", FUNC(fabs) (38.0), 38.0, 0, 0, 0);
^
test-float.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function ## f
^
<scratch space>:446:1: note: expanded from here
fabsf
^
./libm-test.c:2534:40: note: use function 'fabs' instead
check_float ("fabs (38.0) == 38.0", FUNC(fabs) (38.0), 38.0, 0, 0, 0);
^~~~~~~~~~
fabs
test-float.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function ## f
^
<scratch space>:446:1: note: expanded from here
fabsf
^
In file included from test-float.c:34:
./libm-test.c:2535:35: warning: absolute value function 'fabsf' given an argument
of type 'long double' but has parameter of type 'float' which may cause
truncation of value [-Wabsolute-value]
check_float ("fabs (-e) == e", FUNC(fabs) (-M_El), M_El, 0, 0, 0);
^
test-float.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function ## f
^
<scratch space>:446:1: note: expanded from here
fabsf
^
./libm-test.c:2535:35: note: use function 'fabsl' instead
check_float ("fabs (-e) == e", FUNC(fabs) (-M_El), M_El, 0, 0, 0);
^~~~~~~~~~
fabsl
test-float.c:20:24: note: expanded from macro 'FUNC'
#define FUNC(function) function ## f
^
<scratch space>:446:1: note: expanded from here
fabsf
^
3 warnings generated.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 383 100 383 0 0 708 0 --:--:-- --:--:-- --:--:-- 709
100 125k 100 125k 0 0 101k 0 0:00:01 0:00:01 --:--:-- 101k
/var/folders/h9/8wp6_1kx6_v6wm7_vy5w_pbm0000gn/T//ccs12bfn.s:1634:suffix or operands invalid for `movq'
/var/folders/h9/8wp6_1kx6_v6wm7_vy5w_pbm0000gn/T//ccs12bfn.s:1637:suffix or operands invalid for `movq'
make[2]: *** [amos/zbknu.f.o] Error 1
make[1]: *** [build/openspecfun-381db9bc865e51de67be9dcaa1610a6f90029c72/libopenspecfun.dylib] Error 2
make: *** [julia-deps] Error 2
gast218a:julia ken$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment