[MacPorts] #46479: libgcc @4.9.2_1 Error: Processing of port libgcc failed - libgomp
MacPorts
noreply at macports.org
Wed Jan 7 20:18:24 PST 2015
#46479: libgcc @4.9.2_1 Error: Processing of port libgcc failed - libgomp
-----------------------------+--------------------------------
Reporter: Andrew_Rogers@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: libgcc
-----------------------------+--------------------------------
I recently attempted to upgrade my MacPorts and Xcode. However, I ran into
issues when MacPorts attempted to update ports that depend on libgcc. I
decided to start from scratch and did an uninstall/fresh install of Xcode,
command-line tools, and macports but I am still getting the same error
(see below) building the port.
It looks like the build is failing due to an issue with libgomp trying to
use clock_gettime and etc.. I'm stuck on this and not sure what is going
wrong. I would be grateful for any suggestions.
Thanks,
-Andy
OSX version: 10.9.5
Xcode version: 6.1.1
MacPorts version: 2.3.3
{{{
:info:build call frame
:info:build checking for compiler with PCH support...
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/
gcc-4.9.2/libgomp/config/posix/time.c: In function 'omp_get_wtime':
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix/time.c:53:5
: error: implicit declaration of function 'clock_gettime' [-Werror
=implicit-function-declaration]
:info:build clock_gettime (CLOCK_REALTIME, &ts);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix/time.c:53:2
0: error: 'CLOCK_REALTIME' undeclared (first use in this function)
:info:build clock_gettime (CLOCK_REALTIME, &ts);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix/time.c:53:2
0: note: each undeclared identifier is reported only once for each
function it appears in
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix/time.c:
In
function 'omp_get_wtick':
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix/time.c:70:5
: error: implicit declaration of function 'clock_getres' [-Werror
=implicit-function-declaration]
:info:build clock_getres (CLOCK_REALTIME, &ts);
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix/time.c:70:1
9: error: 'CLOCK_REALTIME' undeclared (first use in this function)
:info:build clock_getres (CLOCK_REALTIME, &ts);
:info:build ^
:info:build cc1: all warnings being treated as errors
:info:build make[5]: *** [time.lo] Error 1
:info:build make[5]: *** Waiting for unfinished jobs....
:info:build yes
:info:build checking for enabled PCH... yes
:info:build checking for thread model used by GCC... posix
:info:build checking for atomic builtins for bool... yes
:info:build libtool: compile:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/./gcc/xgcc
-B/opt
/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/./gcc/
-B/opt/local/x86_64-apple-darwin13/bin/ -B/op
t/local/x86_64-apple-darwin13/lib/ -isystem /opt/local/x86_64-apple-
darwin13/include -isystem /opt/local/x86_64-apple-darwin13/sys-include
-DHAVE_CONFIG_H -I. -I/opt/local/var/macpo
rts/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp
-I/opt/local/var/macports/build/_opt_local_var_macports_
sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/bsd
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.
org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_
ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp -Wall -pthread -Werror -g
-O2 -pipe -Os -MT bar.lo -MD -MP -MF .deps/bar.Tpo -c
/opt/local/var/macports/build/_opt_local_var_macports_
sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix/bar.c
-o bar.o >/dev/null 2>&1
:info:build checking for atomic builtins for short... yes
:info:build checking for atomic builtins for int... yes
:info:build checking for atomic builtins for long long... libtool:
compile:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/./gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/./gcc/
-B/opt/local/x86_64-apple-darwin13/bin/ -B/opt/local/x86_64-apple-
darwin13/lib/ -isystem /opt/local/x86_64-apple-darwin13/include -isystem
/opt/local/x86_64-apple-darwin13/sys-include -DHAVE_CONFIG_H -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/bsd
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/config/posix
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp
-Wall -pthread -Werror -g -O2 -pipe -Os -MT fortran.lo -MD -MP -MF
.deps/fortran.Tpo -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/gcc-4.9.2/libgomp/fortran.c
-o fortran.o >/dev/null 2>&1
:info:build yes
:info:build checking for ISO/IEC TR 24733 ... no
:info:build checking for __int128... yes
:info:build checking for __float128... yes
:info:build checking for g++ that supports -ffunction-sections -fdata-
sections... mv -f .deps/bar.Tpo .deps/bar.Plo
:info:build yes
:info:build checking for underlying I/O to use... stdio
:info:build checking for C locale to use... darwin or freebsd
:info:build checking for std::allocator base class... new
:info:build configure: "C" header strategy set to c_global
:info:build checking for enabled long long specializations... yes
:info:build checking wchar.h usability... mv -f .deps/fortran.Tpo
.deps/fortran.Plo
:info:build make[5]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/x86_64
-apple-darwin13/libgomp'
:info:build make[4]: *** [all-recursive] Error 1
:info:build make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/x86_64
-apple-darwin13/libgomp'
:info:build make[3]: *** [all] Error 2
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/libgcc/work/build/x86_64
-apple-darwin13/libgomp'
:info:build make[2]: *** [all-stage1-target-libgomp] Error 2
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build yes
:info:build checking wchar.h presence... yes
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46479>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list