[MacPorts] #51744: valgrind : Undefined symbols; "___divti3", referenced from: :info:build ___muloti4 in libclang_rt.osx.a(muloti4.o)
MacPorts
noreply at macports.org
Fri Jul 1 21:29:19 PDT 2016
#51744: valgrind : Undefined symbols; "___divti3", referenced from: :info:build
___muloti4 in libclang_rt.osx.a(muloti4.o)
-----------------------+----------------------
Reporter: simon@… | Owner: raimue@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: valgrind |
-----------------------+----------------------
Changes (by ryandesign@…):
* keywords: valgrind =>
* owner: macports-tickets@… => raimue@…
Old description:
> Hello all — I am having trouble installing valgrind on Mac OS X 10.10.5
> (Yosemite). It appears to be associated with an undefined symbol in
> libclang. Any thoughts?
>
> Simon
>
> :info:build mv -f m_ume/.deps/libcoregrind_amd64_darwin_a-macho.Tpo
> m_ume/.deps/libcoregrind_amd64_darwin_a-macho.Po
> :info:build Undefined symbols for architecture x86_64:
> :info:build "___divti3", referenced from:
> :info:build ___muloti4 in libclang_rt.osx.a(muloti4.o)
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build clang: error: linker command failed with exit code 1 (use -v
> to see invocation)
> :info:build make[3]: *** [vgpreload_core-amd64-darwin.so] Error 1
> :info:build make[3]: *** Waiting for unfinished jobs....
> :info:build mv -f m_mach/.deps/libcoregrind_amd64_darwin_a-
> mach_vmUser.Tpo m_mach/.deps/libcoregrind_amd64_darwin_a-mach_vmUser.Po
> :info:build mv -f m_mach/.deps/libcoregrind_amd64_darwin_a-vm_mapUser.Tpo
> m_mach/.deps/libcoregrind_amd64_darwin_a-vm_mapUser.Po
> :info:build mv -f m_mach/.deps/libcoregrind_amd64_darwin_a-
> thread_actUser.Tpo m_mach/.deps/libcoregrind_amd64_darwin_a-
> thread_actUser.Po
> :info:build mv -f m_mach/.deps/libcoregrind_amd64_darwin_a-taskUser.Tpo
> m_mach/.deps/libcoregrind_amd64_darwin_a-taskUser.Po
> :info:build mv -f m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-
> generic.Tpo m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-
> generic.Po
> :info:build mv -f m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-
> darwin.Tpo m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-darwin.Po
> :info:build make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0/coregrind'
> :info:build make[2]: *** [all] Error 2
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0/coregrind'
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0'
> :info:build Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0"
> && /usr/bin/make -j8 -w all
> :info:build Exit code: 2
> :error:build org.macports.build for port valgrind returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 69467 2
> :debug:build Backtrace: command execution failed
> while executing
> "system -nice 0 $fullcmdstring"
> ("eval" body line 1)
> invoked from within
> "eval system $notty $nice \$fullcmdstring"
> invoked from within
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "portbuild::build_main org.macports.build"
> ("eval" body line 1)
> invoked from within
> "eval $procedure $targetname"
> :info:build Warning: targets not executed for valgrind:
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Please see the log file for port valgrind for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/main.log
> ayerie:SFIHMM simon$ sudo port install valgrind
> ---> Computing dependencies for valgrind
> ---> Building valgrind
> Error: org.macports.build for port valgrind returned: command execution
> failed
> Please see the log file for port valgrind for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/main.log
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: Processing of port valgrind failed
New description:
Hello all — I am having trouble installing valgrind on Mac OS X 10.10.5
(Yosemite). It appears to be associated with an undefined symbol in
libclang. Any thoughts?
Simon
{{{
:info:build mv -f m_ume/.deps/libcoregrind_amd64_darwin_a-macho.Tpo
m_ume/.deps/libcoregrind_amd64_darwin_a-macho.Po
:info:build Undefined symbols for architecture x86_64:
:info:build "___divti3", referenced from:
:info:build ___muloti4 in libclang_rt.osx.a(muloti4.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make[3]: *** [vgpreload_core-amd64-darwin.so] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build mv -f m_mach/.deps/libcoregrind_amd64_darwin_a-mach_vmUser.Tpo
m_mach/.deps/libcoregrind_amd64_darwin_a-mach_vmUser.Po
:info:build mv -f m_mach/.deps/libcoregrind_amd64_darwin_a-vm_mapUser.Tpo
m_mach/.deps/libcoregrind_amd64_darwin_a-vm_mapUser.Po
:info:build mv -f m_mach/.deps/libcoregrind_amd64_darwin_a-
thread_actUser.Tpo m_mach/.deps/libcoregrind_amd64_darwin_a-
thread_actUser.Po
:info:build mv -f m_mach/.deps/libcoregrind_amd64_darwin_a-taskUser.Tpo
m_mach/.deps/libcoregrind_amd64_darwin_a-taskUser.Po
:info:build mv -f m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-
generic.Tpo m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-generic.Po
:info:build mv -f m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-
darwin.Tpo m_syswrap/.deps/libcoregrind_amd64_darwin_a-syswrap-darwin.Po
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0/coregrind'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0/coregrind'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.11.0"
&& /usr/bin/make -j8 -w all
:info:build Exit code: 2
:error:build org.macports.build for port valgrind returned: command
execution failed
:debug:build Error code: CHILDSTATUS 69467 2
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"portbuild::build_main org.macports.build"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for valgrind:
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Please see the log file for port valgrind for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/main.log
ayerie:SFIHMM simon$ sudo port install valgrind
---> Computing dependencies for valgrind
---> Building valgrind
Error: org.macports.build for port valgrind returned: command execution
failed
Please see the log file for port valgrind for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port valgrind failed
}}}
--
Comment:
/usr/bin/llvm-gcc-4.2 should not exist on a Yosemite system. Apple stopped
including llvm-gcc-4.2 as of Xcode 5.0. Yosemite requires Xcode versions ≥
6.1 < 7.3.
Don't forget to use WikiFormatting when writing in Trac.
--
Ticket URL: <https://trac.macports.org/ticket/51744#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list