{"action":"created","issue":{"url":"https://api.github.com/repos/hercules-390/hyperion/issues/76","labels_url":"https://api.github.com/repos/hercules-390/hyperion/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/hercules-390/hyperion/issues/76/comments","events_url":"https://api.github.com/repos/hercules-390/hyperion/issues/76/events","html_url":"https://github.com/hercules-390/hyperion/issues/76","id":112830819,"number":76,"title":"Low Priority: Cannot 'make' hatomic.h on Celeron CPU G550","user":{"login":"FanDjango","id":5990805,"avatar_url":"https://avatars.githubusercontent.com/u/5990805?v=3","gravatar_id":"","url":"https://api.github.com/users/FanDjango","html_url":"https://github.com/FanDjango","followers_url":"https://api.github.com/users/FanDjango/followers","following_url":"https://api.github.com/users/FanDjango/following{/other_user}","gists_url":"https://api.github.com/users/FanDjango/gists{/gist_id}","starred_url":"https://api.github.com/users/FanDjango/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FanDjango/subscriptions","organizations_url":"https://api.github.com/users/FanDjango/orgs","repos_url":"https://api.github.com/users/FanDjango/repos","events_url":"https://api.github.com/users/FanDjango/events{/privacy}","received_events_url":"https://api.github.com/users/FanDjango/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-22T15:36:47Z","updated_at":"2015-10-22T16:12:55Z","closed_at":null,"body":"Presumably due to the CPU being a \r\nmodel name\t: Intel(R) Celeron(R) CPU G550 @ 2.60GHz\r\n\r\nRunning make after ./configure --disable-interlocked-access-facility-2 works fine.\r\n\r\nBut:\r\nOtherwise, make terminates due to error compiling hatomic.h with\r\n\r\n```\r\n/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I. -I./decNumber -I. -DPKGDATADIR=\\\"/usr/local/share/hercules\\\" -DMODULESDIR=\\\"/usr/local/lib/hercules\\\" -DHERC_LOCALEDIR=\\\"/usr/local/share/locale\\\"  -W -Wall  -g3 -ggdb3 -O3 -march=native -m128bit-long-double -minline-stringops-dynamically -fomit-frame-pointer -MT hsys.lo -MD -MP -MF .deps/hsys.Tpo -c -o hsys.lo hsys.c\r\n gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I. -DPKGDATADIR=\\\"/usr/local/share/hercules\\\" -DMODULESDIR=\\\"/usr/local/lib/hercules\\\" -DHERC_LOCALEDIR=\\\"/usr/local/share/locale\\\" -W -Wall -g3 -ggdb3 -O3 -march=native -m128bit-long-double -minline-stringops-dynamically -fomit-frame-pointer -MT hsys.lo -MD -MP -MF .deps/hsys.Tpo -c hsys.c  -fPIC -DPIC -o .libs/hsys.o\r\nIn file included from hatomic.h:85:0,\r\n                 from hstdinc.h:244,\r\n                 from hsys.c:8:\r\nhatomic.h:88:10: error: missing binary operator before token \"(\"\r\n #if 2 == ATOMIC_CHAR_LOCK_FREE && !defined(DISABLE_IAF2)\r\n         ^      \r\nMakefile:2077: recipe for target 'hsys.lo' failed\r\nmake[2]: *** [hsys.lo] Error 1\r\nmake[2]: Leaving directory '/home/mike/Downloads/hyperion-master'\r\nMakefile:2099: recipe for target 'all-recursive' failed\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory '/home/mike/Downloads/hyperion-master'\r\nMakefile:1540: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/hercules-390/hyperion/issues/comments/150275015","html_url":"https://github.com/hercules-390/hyperion/issues/76#issuecomment-150275015","issue_url":"https://api.github.com/repos/hercules-390/hyperion/issues/76","id":150275015,"user":{"login":"ivan-w","id":1625179,"avatar_url":"https://avatars.githubusercontent.com/u/1625179?v=3","gravatar_id":"","url":"https://api.github.com/users/ivan-w","html_url":"https://github.com/ivan-w","followers_url":"https://api.github.com/users/ivan-w/followers","following_url":"https://api.github.com/users/ivan-w/following{/other_user}","gists_url":"https://api.github.com/users/ivan-w/gists{/gist_id}","starred_url":"https://api.github.com/users/ivan-w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivan-w/subscriptions","organizations_url":"https://api.github.com/users/ivan-w/orgs","repos_url":"https://api.github.com/users/ivan-w/repos","events_url":"https://api.github.com/users/ivan-w/events{/privacy}","received_events_url":"https://api.github.com/users/ivan-w/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T16:12:55Z","updated_at":"2015-10-22T16:12:55Z","body":"Note that we are in conflict John & I about this. (friendly conflict - \nno worries)\n\nI'm still not convinced that we DO need to check if a char atomic \noperation should necessarily lock free (c11 operations may or may not be \nlock free but the end result is the same - it's just the implementation \nthat is different).\n\nFurthermore, this could be resolved at compile time (not at preprocessor \ntime) - at which point the end result is the same but would work on \nimplementations that do not treat ATOMIC_CHAR_LOCK_FREE as a \npreprocessor constant.\n\n--Ivan\n\n\n\nOn 10/22/2015 5:36 PM, FanDjango wrote:\n>\n> Presumably due to the CPU being a\n> model name : Intel(R) Celeron(R) CPU G550 @ 2.60GHz\n>\n> Running make after ./configure --disable-interlocked-access-facility-2 \n> works fine.\n>\n> But:\n> Otherwise, make terminates due to error compiling hatomic.h with\n>\n> |/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. \n> -I. -I./decNumber -I. -DPKGDATADIR=\\\"/usr/local/share/hercules\\\" \n> -DMODULESDIR=\\\"/usr/local/lib/hercules\\\" \n> -DHERC_LOCALEDIR=\\\"/usr/local/share/locale\\\" -W -Wall -g3 -ggdb3 -O3 \n> -march=native -m128bit-long-double -minline-stringops-dynamically \n> -fomit-frame-pointer -MT hsys.lo -MD -MP -MF .deps/hsys.Tpo -c -o \n> hsys.lo hsys.c gcc -DHAVE_CONFIG_H -I. -I. -I./decNumber -I. \n> -DPKGDATADIR=\\\"/usr/local/share/hercules\\\" \n> -DMODULESDIR=\\\"/usr/local/lib/hercules\\\" \n> -DHERC_LOCALEDIR=\\\"/usr/local/share/locale\\\" -W -Wall -g3 -ggdb3 -O3 \n> -march=native -m128bit-long-double -minline-stringops-dynamically \n> -fomit-frame-pointer -MT hsys.lo -MD -MP -MF .deps/hsys.Tpo -c hsys.c \n> -fPIC -DPIC -o .libs/hsys.o In file included from hatomic.h:85:0, from \n> hstdinc.h:244, from hsys.c:8: hatomic.h:88:10: error: missing binary \n> operator before token \"(\" #if 2 == ATOMIC_CHAR_LOCK_FREE && \n> !defined(DISABLE_IAF2) ^ Makefile:2077: recipe for target 'hsys.lo' \n> failed make[2]: *** [hsys.lo] Error 1 make[2]: Leaving directory \n> '/home/mike/Downloads/hyperion-master' Makefile:2099: recipe for \n> target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 \n> make[1]: Leaving directory '/home/mike/Downloads/hyperion-master' \n> Makefile:1540: recipe for target 'all' failed make: *** [all] Error 2 |\n>\n> —\n> Reply to this email directly or view it on GitHub \n> <https://github.com/hercules-390/hyperion/issues/76>.\n>\n\n"}}