Re: Trouble compiling with gcc 4.8 on 10.5 PowerPC

2018-03-21 Thread Kenneth F. Cunningham
On 2018-03-18, at 8:44 AM, Kenneth F. Cunningham wrote: >> There's just one little problem remaining: I cannot use gcc-ar-mp-6 because >> it reports the following error: "Cannot find plugin liblto_plugin.so". > Looks like this is just broken on all MacPorts versions of gcc, for example on thi

Re: Trouble compiling with gcc 4.8 on 10.5 PowerPC

2018-03-19 Thread Ryan Schmidt
On Mar 18, 2018, at 08:32, Andreas Falkenhahn wrote: > There's just one little problem remaining: I cannot use gcc-ar-mp-6 because > it reports the following error: "Cannot find plugin liblto_plugin.so". > So I just use the "ar" that came with Xcode and it worked fine but maybe > gcc-ar-mp-6 shou

Re: Trouble compiling with gcc 4.8 on 10.5 PowerPC

2018-03-18 Thread Kenneth F. Cunningham
On 2018-03-18, at 7:32 AM, Andreas Falkenhahn wrote: > > Thanks, this indeed solved all my problems! Great! > There's just one little problem remaining: I cannot use gcc-ar-mp-6 because > it reports the following error: "Cannot find plugin liblto_plugin.so". Will see how this is on my PPC ma

Re: Trouble compiling with gcc 4.8 on 10.5 PowerPC

2018-03-18 Thread Andreas Falkenhahn
Hi Kenneth, On 17.03.2018 at 23:30 Kenneth F. Cunningham wrote: > As a first step, if you don't specifically require gcc-4.8, try > instead with gcc-6 (macports-gcc-6) which works quite a bit better in most > cases. Thanks, this indeed solved all my problems! The malloc errors have disappeared

Re: Trouble compiling with gcc 4.8 on 10.5 PowerPC

2018-03-17 Thread Kenneth F. Cunningham
On 2018-03-17, at 4:17 PM, Andreas Falkenhahn wrote: > Hi, > > I need to compile C++11 sources for PowerPC OS X so I installed gcc48 using > Mac Ports. Although the binary generated by gcc-mp-4.8 actually works, I do > get some warning messages which are worrying me. > > When linking my proje

Trouble compiling with gcc 4.8 on 10.5 PowerPC

2018-03-17 Thread Andreas Falkenhahn
Hi, I need to compile C++11 sources for PowerPC OS X so I installed gcc48 using Mac Ports. Although the binary generated by gcc-mp-4.8 actually works, I do get some warning messages which are worrying me. When linking my project, I get this warning: ld: warning: 32-bit absolute address out