Re: Problems cross-compiling with clang 3.7 & 3.9 on 10.6

2017-03-27 Thread Joshua Root
On 2017-3-28 11:46 , Mojca Miklavec wrote: ld: library not found for -lto_library Looks like ld is interpreting "-lto_library" as -l with a library name of "to_library". No LTO support I guess. - Josh

Re: Problems cross-compiling with clang 3.7 & 3.9 on 10.6

2017-03-27 Thread Ken Cunningham
It's been a few months since I went down this rabbit hole, but IIRC, it worked a little better to build clang on ppc directly. 10.5 intel fails to build PPC correctly due to the runtime library issues you stumbled across. The highest i have been able to go is clang-3.6 on ppc so far (building it

Re: Problems cross-compiling with clang 3.7 & 3.9 on 10.6

2017-03-27 Thread Jeremy Huddleston Sequoia
> On Mar 27, 2017, at 08:14, Mojca Miklavec wrote: > > Hi, > > After a long time I tried cross-compiling a few things on 10.6, but > most attempts failed: > >> clang-mp-3.4 -arch ppc test.c -o test > > [OK] IIRC, cfe just spawns llvm-gcc-4.2 when using -arch ppc in older

Re: Problems cross-compiling with clang 3.7 & 3.9 on 10.6

2017-03-27 Thread Mojca Miklavec
On 27 March 2017 at 17:39, Mojca Miklavec wrote: > On 27 March 2017 at 17:14, Mojca Miklavec wrote: >> Hi, >> >> After a long time I tried cross-compiling a few things on 10.6, but >> most attempts failed: >> >>> clang-mp-3.4 -arch ppc test.c -o test >> >> [OK] > > Plus another problem that I

Re: Problems cross-compiling with clang 3.7 & 3.9 on 10.6

2017-03-27 Thread Mojca Miklavec
On 27 March 2017 at 17:14, Mojca Miklavec wrote: > Hi, > > After a long time I tried cross-compiling a few things on 10.6, but > most attempts failed: > >> clang-mp-3.4 -arch ppc test.c -o test > > [OK] Plus another problem that I don't quite understand: libtool: link: clang-mp-3.4 -Wimplicit

Problems cross-compiling with clang 3.7 & 3.9 on 10.6

2017-03-27 Thread Mojca Miklavec
Hi, After a long time I tried cross-compiling a few things on 10.6, but most attempts failed: > clang-mp-3.4 -arch ppc test.c -o test [OK] > clang-mp-3.7 -arch i386 test.c -o test [OK] > clang-mp-3.7 -arch ppc test.c -o test ld: warning: ignoring file

Re: [macports-ports] branch master updated: youtube-dl: update master_sites

2017-03-27 Thread Ryan Schmidt
> On Mar 27, 2017, at 00:59, Zero King wrote: > > Zero King (l2dy) pushed a commit to branch master > in repository macports-ports. > > > https://github.com/macports/macports-ports/commit/028449c4cfaecdf2788a33919d5bfd3a4f786acd > > The following commit(s) were added to