Bill Allombert on Mon, 27 Mar 2017 11:53:13 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Error when updating git version


On Mon, Mar 27, 2017 at 10:16:18AM +0200, Emmanuel ROYER wrote:
> Hi,
> When I try to update my pari, I have an error during the configuration:
> 
> My commands:
> git pull
> sudo make clean
> sudo ./Configure --static --mt=pthread --time=ftime
> --with-gmp=/opt/local --with-readline=/opt/local
> 
> the error message is then the following:
> /opt/local/bin/gcc  -c -I. -I../src/headers -fPIC -O3 -Wall
> -fno-strict-aliasing -fomit-frame-pointer    -o plotport.o
> ../src/graph/plotport.c
> ../src/graph/plotport.c:29:1: error: '__thread' before 'static'
>  THREAD static long current_color[18]; /*NUMRECT*/
>  ^~~~~~
> make[1]: *** [plotport.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [gp] Error 2
> 
> Any idea of what is happening?

Yes, this was a bug that was caught by our test build:
https://pari.math.u-bordeaux.fr/buildlog.html
It should be fixed now in rev 85e1ebd9dd41900701a4f08fb9bd10fa1a7d8e32

Thanks for telling us!
Bill.