Project

General

Profile

Bug #1406

Mac OS X builds broken due to sigaction macro inconsistency

Added by Jim Phillips over 2 years ago. Updated over 2 years ago.

Status:
Merged
Priority:
Urgent
Category:
Machine Layers
Target version:
Start date:
02/10/2017
Due date:
% Done:

0%


Description

./machine-dgram.c:505:32: note: expanded from macro 'MallocExplicitDgram'
  } else Cmi_freelist_explicit = d->next;\
                               ^ ~~~~~~~
machine.c:2067:25: error: use of undeclared identifier 'sa'
    sigaction(SIGQUIT, &sa, NULL);
                        ^
machine.c:2068:24: error: use of undeclared identifier 'sa'
    sigaction(SIGBUS, &sa, NULL);
                       ^
machine.c:2070:5: error: use of undeclared identifier 'sa'
    sa.sa_handler = HandleUserSignals;
    ^
machine.c:2071:25: error: use of undeclared identifier 'sa'
    sigaction(SIGUSR1, &sa, NULL);
                        ^
machine.c:2072:25: error: use of undeclared identifier 'sa'
    sigaction(SIGUSR2, &sa, NULL);
                        ^
7 warnings and 5 errors generated.
Fatal Error by charmc in directory /Projects/namd2/Programmers/jim/charm-6.8.0-build-2017-Feb-10-245476/charm-6.8.0-pre/multicore-darwin-x86_64/tmp
   Command clang -arch x86_64 -m64 -dynamic -fno-common -mmacosx-version-min=10.7 -Wno-deprecated-declarations -D_REENTRANT -I../bin/../include -D__CHARMC__=1 -I. -DFOR_CPLUS=1 -O2 -U_FORTIFY_SOURCE -fno-stack-protector -c machine.c -o machine.o returned error code 1

History

#1 Updated by Sam White over 2 years ago

  • Assignee set to Seonmyeong Bak

#2 Updated by Phil Miller over 2 years ago

  • Status changed from New to Merged
  • translation missing: en.field_closed_date set to 2017-02-13 10:20:35.432721

#3 Updated by Sam White over 2 years ago

net-win64 is still broken on this, though I think it is deprecated and can be removed from autobuild at this point...

machine.c(2924): error C2065: 'signal_int': undeclared identifier
machine.c(2924): warning C4047: '=': 'int' differs in levels of indirection from '_crt_signal_t'

Also available in: Atom PDF