[PD-dev] trying to compile Pd on OS X (10.11)

Dan Wilcox danomatika at gmail.com
Fri May 5 23:45:29 CEST 2017


That’s the PERTHREAD define form Miller’s current work with per thread instances. This implies something is currently broken in then uild right now.

I would check the log and go back a couple weeks to a working commit.

> On May 5, 2017, at 3:21 PM, pd-dev-request at lists.iem.at wrote:
> 
> From: cjniven <cjniven at gmail.com <mailto:cjniven at gmail.com>>
> Subject: Re: [PD-dev] trying to compile Pd on OS X (10.11)
> Date: May 5, 2017 at 3:21:45 PM MDT
> To: Roman Haefeli <reduzent at gmail.com <mailto:reduzent at gmail.com>>
> Cc: pd-dev at lists.iem.at <mailto:pd-dev at lists.iem.at>
> 
> 
> I was able to build jack2 properly and pd was able to find it, but I received another error when running make (with or without the ‘-j’ flag)
> 
> Making all in src
> gcc -DPACKAGE_NAME=\"pd\" -DPACKAGE_TARNAME=\"pd\" -DPACKAGE_VERSION=\"0.47.1\" -DPACKAGE_STRING=\"pd\ 0.47.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"pd\" -DVERSION=\"0.47.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DRETSIGTYPE=void -DHAVE_DUP2=1 -DHAVE_FLOOR=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_REGCOMP=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_LIBDL=1 -I.  -I/opt/local/include  -I../portaudio/portaudio/include -I../portmidi/portmidi/pm_common -I../portmidi/portmidi/porttime  -DPD -DINSTALL_PREFIX=\"/usr/local\" -DPD_INTERNAL  -DUSEAPI_JACK -DJACK_XRUN   -DUSEAPI_PORTAUDIO  -DMACOSX  -mmacosx-version-min=10.6 -g -O2 -ffast-math -funroll-loops -fomit-frame-pointer -MT pd-d_ugen.o -MD -MP -MF .deps/pd-d_ugen.Tpo -c -o pd-d_ugen.o `test -f 'd_ugen.c' || echo './'`d_ugen.c
> d_ugen.c:580:8: error: thread-local storage is not supported for the current target
> static PERTHREAD t_dspcontext *ugen_currentcontext;
>       ^
> ./m_pd.h:839:19: note: expanded from macro 'PERTHREAD'
> #define PERTHREAD __thread
>                  ^
> 1 error generated.
> 
> 
> Can anyone tell me what’s going on here?
> 
> Thanks,
> 
> -c

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20170505/a3962147/attachment-0001.html>


More information about the Pd-dev mailing list