#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 | -----------------------+---------------------- Comment (by simon@…): You are all absolutely correct. It looks like I had some older versions of gcc hanging out in /usr/local/bin — and my PATH was set so that /usr/local/bin came before /usr/bin. Once I edited my .bashrc to fix the export PATH statement, macports was able to use the new versions of gcc, and valgrind installed without a hitch. I actually ended up doing a total migration, since I wasn't sure how long the system had been using those ancient compilers. Thank you for your help, ryandesign. I would not have noticed how out of date my compilers were without your pointing them out. Perhaps there could be a "recommended" PATH variable to help newcomers? -- Ticket URL: <https://trac.macports.org/ticket/51744#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X