Opened 12 years ago

Closed 12 years ago

#32783 closed defect (fixed)

libACE: build fails with clang

Reported by: orcoinsabbia@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: clang Cc: @…
Port: libACE

Description

i found this problem compiling libACE .i'm useing lion with XCODE 4.2.1 .after asking for help in the irc channel i found an usefull answer by drkp that suggested me to run that command sudo port clean libace ; sudo port install libace configure.compiler=llvm-gcc-4.2 and it worked for me :D tnx to the comunity.

debug:main Executing org.macports.main (libACE)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (libACE)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (libACE)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (libACE)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (libACE)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (libACE)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (libACE)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Jan  5 22:53:06 CET 2012
:notice:build --->  Building libACE
:debug:build Executing org.macports.build (libACE)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' DYLD_LIBRARY_PATH='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/lib:${DYLD_LIBRARY_PATH}'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build" && /usr/bin/make -j5 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build" && /usr/bin/make -j5 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build'
:info:build Making all in ace
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build/ace'
:info:build /usr/bin/make  all-recursive
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build/ace'
:info:build Making all in .
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build/ace'
:info:build /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++ -DHAVE_CONFIG_H   -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include  -W -Wall -Wpointer-arith  -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Activation_Queue.lo -MD -MP -MF .deps/libACE_la-Activation_Queue.Tpo -c -o libACE_la-Activation_Queue.lo `test -f 'Activation_Queue.cpp' || echo '../../ace/'`Activation_Queue.cpp
:info:build /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++ -DHAVE_CONFIG_H   -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include  -W -Wall -Wpointer-arith  -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Asynch_IO.lo -MD -MP -MF .deps/libACE_la-Asynch_IO.Tpo -c -o libACE_la-Asynch_IO.lo `test -f 'Asynch_IO.cpp' || echo '../../ace/'`Asynch_IO.cpp
:info:build /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++ -DHAVE_CONFIG_H   -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include  -W -Wall -Wpointer-arith  -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Asynch_IO_Impl.lo -MD -MP -MF .deps/libACE_la-Asynch_IO_Impl.Tpo -c -o libACE_la-Asynch_IO_Impl.lo `test -f 'Asynch_IO_Impl.cpp' || echo '../../ace/'`Asynch_IO_Impl.cpp
:info:build /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++ -DHAVE_CONFIG_H   -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include  -W -Wall -Wpointer-arith  -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Asynch_Pseudo_Task.lo -MD -MP -MF .deps/libACE_la-Asynch_Pseudo_Task.Tpo -c -o libACE_la-Asynch_Pseudo_Task.lo `test -f 'Asynch_Pseudo_Task.cpp' || echo '../../ace/'`Asynch_Pseudo_Task.cpp
:info:build /bin/sh ../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/clang++ -DHAVE_CONFIG_H   -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include  -W -Wall -Wpointer-arith  -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Atomic_Op.lo -MD -MP -MF .deps/libACE_la-Atomic_Op.Tpo -c -o libACE_la-Atomic_Op.lo `test -f 'Atomic_Op.cpp' || echo '../../ace/'`Atomic_Op.cpp
:info:build libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include -W -Wall -Wpointer-arith -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Atomic_Op.lo -MD -MP -MF .deps/libACE_la-Atomic_Op.Tpo -c ../../ace/Atomic_Op.cpp  -fno-common -DPIC -o .libs/libACE_la-Atomic_Op.o
:info:build libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include -W -Wall -Wpointer-arith -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Activation_Queue.lo -MD -MP -MF .deps/libACE_la-Activation_Queue.Tpo -c ../../ace/Activation_Queue.cpp  -fno-common -DPIC -o .libs/libACE_la-Activation_Queue.o
:info:build libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include -W -Wall -Wpointer-arith -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Asynch_IO_Impl.lo -MD -MP -MF .deps/libACE_la-Asynch_IO_Impl.Tpo -c ../../ace/Asynch_IO_Impl.cpp  -fno-common -DPIC -o .libs/libACE_la-Asynch_IO_Impl.o
:info:build libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include -W -Wall -Wpointer-arith -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Asynch_Pseudo_Task.lo -MD -MP -MF .deps/libACE_la-Asynch_Pseudo_Task.Tpo -c ../../ace/Asynch_Pseudo_Task.cpp  -fno-common -DPIC -o .libs/libACE_la-Asynch_Pseudo_Task.o
:info:build libtool: compile:  /Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I../.. -I.. -DACE_BUILD_DLL -D_REENTRANT -D_THREAD_SAFE -I/opt/local/include -W -Wall -Wpointer-arith -pipe -O2 -arch x86_64 -pipe -O -I. -I.. -MT libACE_la-Asynch_IO.lo -MD -MP -MF .deps/libACE_la-Asynch_IO.Tpo -c ../../ace/Asynch_IO.cpp  -fno-common -DPIC -o .libs/libACE_la-Asynch_IO.o
:info:build In file included from ../../ace/Atomic_Op.cpp:3:
:info:build In file included from ../../ace/Atomic_Op.h:23:
:info:build In file included from ../../ace/Thread_Mutex.h:31:
:info:build In file included from ../../ace/OS_NS_Thread.h:1991:
:info:build In file included from ../../ace/OS_NS_Thread.inl:7:
:info:build In file included from ../../ace/Time_Value.h:382:
:info:build ../../ace/Time_Value.inl:64:33: warning: use of logical && with constant operand; switch to bitwise & or remove constant [-Wconstant-logical-operand]
:info:build   if (__builtin_constant_p(sec) &&
:info:build                                 ^
:info:build In file included from ../../ace/Atomic_Op.cpp:3:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned int *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:440:36: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned int>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned int>::operator= (rhs);
:info:build                                    ^
:info:build In file included from ../../ace/Atomic_Op.cpp:3:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:466:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<long>::operator= (rhs);
:info:build                            ^
:info:build In file included from ../../ace/Atomic_Op.cpp:3:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:492:37: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned long>::operator= (rhs);
:info:build                                     ^
:info:build In file included from ../../ace/Atomic_Op.cpp:3:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:519:29: note: in instantiation of member function 'ACE_Atomic_Op_GCC<short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<short>::operator= (rhs);
:info:build                             ^
:info:build In file included from ../../ace/Atomic_Op.cpp:3:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:545:38: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned short>::operator= (rhs);
:info:build                                      ^
:info:build In file included from ../../ace/Atomic_Op.cpp:3:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile bool *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:573:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<bool>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<bool>::operator= (rhs);
:info:build                            ^
:info:build 1 warning and 6 errors generated.
:info:build make[3]: *** [libACE_la-Atomic_Op.lo] Error 1
:info:build make[3]: *** Waiting for unfinished jobs....
:info:build In file included from ../../ace/Activation_Queue.cpp:3:
:info:build In file included from ../../ace/Activation_Queue.h:25:
:info:build In file included from ../../ace/Message_Queue.h:17:
:info:build In file included from ../../ace/Message_Block.h:27:
:info:build In file included from ../../ace/Time_Value.h:382:
:info:build ../../ace/Time_Value.inl:64:33: warning: use of logical && with constant operand; switch to bitwise & or remove constant [-Wconstant-logical-operand]
:info:build   if (__builtin_constant_p(sec) &&
:info:build                                 ^
:info:build In file included from ../../ace/Asynch_Pseudo_Task.cpp:3:
:info:build In file included from ../../ace/Asynch_Pseudo_Task.h:24:
:info:build In file included from ../../ace/Reactor.h:28:
:info:build In file included from ../../ace/Reactor_Timer_Interface.h:18:
:info:build In file included from ../../ace/Time_Value.h:382:
:info:build ../../ace/Time_Value.inl:64:33: warning: use of logical && with constant operand; switch to bitwise & or remove constant [-Wconstant-logical-operand]
:info:build   if (__builtin_constant_p(sec) &&
:info:build                                 ^
:info:build In file included from ../../ace/Asynch_IO.cpp:3:
:info:build In file included from ../../ace/Asynch_IO.h:40:
:info:build In file included from ../../ace/Thread_Mutex.h:31:
:info:build In file included from ../../ace/OS_NS_Thread.h:1991:
:info:build In file included from ../../ace/OS_NS_Thread.inl:7:
:info:build In file included from ../../ace/Time_Value.h:382:
:info:build ../../ace/Time_Value.inl:64:33: warning: use of logical && with constant operand; switch to bitwise & or remove constant [-Wconstant-logical-operand]
:info:build   if (__builtin_constant_p(sec) &&
:info:build                                 ^
:info:build In file included from ../../ace/Asynch_IO_Impl.cpp:3:
:info:build In file included from ../../ace/Asynch_IO_Impl.h:37:
:info:build In file included from ../../ace/Asynch_IO.h:40:
:info:build In file included from ../../ace/Thread_Mutex.h:31:
:info:build In file included from ../../ace/OS_NS_Thread.h:1991:
:info:build In file included from ../../ace/OS_NS_Thread.inl:7:
:info:build In file included from ../../ace/Time_Value.h:382:
:info:build ../../ace/Time_Value.inl:64:33: warning: use of logical && with constant operand; switch to bitwise & or remove constant [-Wconstant-logical-operand]
:info:build   if (__builtin_constant_p(sec) &&
:info:build                                 ^
:info:build In file included from ../../ace/Activation_Queue.cpp:3:
:info:build In file included from ../../ace/Activation_Queue.h:25:
:info:build In file included from ../../ace/Message_Queue.h:222:
:info:build In file included from ../../ace/Message_Queue_T.h:1552:
:info:build In file included from ../../ace/Message_Queue_T.cpp:20:
:info:build In file included from ../../ace/Notification_Strategy.h:16:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned int *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:440:36: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned int>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned int>::operator= (rhs);
:info:build                                    ^
:info:build In file included from ../../ace/Activation_Queue.cpp:3:
:info:build In file included from ../../ace/Activation_Queue.h:25:
:info:build In file included from ../../ace/Message_Queue.h:222:
:info:build In file included from ../../ace/Message_Queue_T.h:1552:
:info:build In file included from ../../ace/Message_Queue_T.cpp:20:
:info:build In file included from ../../ace/Notification_Strategy.h:16:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:466:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<long>::operator= (rhs);
:info:build                            ^
:info:build In file included from ../../ace/Activation_Queue.cpp:3:
:info:build In file included from ../../ace/Activation_Queue.h:25:
:info:build In file included from ../../ace/Message_Queue.h:222:
:info:build In file included from ../../ace/Message_Queue_T.h:1552:
:info:build In file included from ../../ace/Message_Queue_T.cpp:20:
:info:build In file included from ../../ace/Notification_Strategy.h:16:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:492:37: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned long>::operator= (rhs);
:info:build                                     ^
:info:build In file included from ../../ace/Activation_Queue.cpp:3:
:info:build In file included from ../../ace/Activation_Queue.h:25:
:info:build In file included from ../../ace/Message_Queue.h:222:
:info:build In file included from ../../ace/Message_Queue_T.h:1552:
:info:build In file included from ../../ace/Message_Queue_T.cpp:20:
:info:build In file included from ../../ace/Notification_Strategy.h:16:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:519:29: note: in instantiation of member function 'ACE_Atomic_Op_GCC<short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<short>::operator= (rhs);
:info:build                             ^
:info:build In file included from ../../ace/Activation_Queue.cpp:3:
:info:build In file included from ../../ace/Activation_Queue.h:25:
:info:build In file included from ../../ace/Message_Queue.h:222:
:info:build In file included from ../../ace/Message_Queue_T.h:1552:
:info:build In file included from ../../ace/Message_Queue_T.cpp:20:
:info:build In file included from ../../ace/Notification_Strategy.h:16:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:545:38: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned short>::operator= (rhs);
:info:build                                      ^
:info:build In file included from ../../ace/Activation_Queue.cpp:3:
:info:build In file included from ../../ace/Activation_Queue.h:25:
:info:build In file included from ../../ace/Message_Queue.h:222:
:info:build In file included from ../../ace/Message_Queue_T.h:1552:
:info:build In file included from ../../ace/Message_Queue_T.cpp:20:
:info:build In file included from ../../ace/Notification_Strategy.h:16:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile bool *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:573:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<bool>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<bool>::operator= (rhs);
:info:build                            ^
:info:build 1 warning and 6 errors generated.
:info:build make[3]: *** [libACE_la-Activation_Queue.lo] Error 1
:info:build In file included from ../../ace/Asynch_IO_Impl.cpp:3:
:info:build In file included from ../../ace/Asynch_IO_Impl.h:37:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned int *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:440:36: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned int>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned int>::operator= (rhs);
:info:build                                    ^
:info:build In file included from ../../ace/Asynch_IO_Impl.cpp:3:
:info:build In file included from ../../ace/Asynch_IO_Impl.h:37:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:466:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<long>::operator= (rhs);
:info:build                            ^
:info:build In file included from ../../ace/Asynch_IO_Impl.cpp:3:
:info:build In file included from ../../ace/Asynch_IO_Impl.h:37:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:492:37: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned long>::operator= (rhs);
:info:build                                     ^
:info:build In file included from ../../ace/Asynch_IO_Impl.cpp:3:
:info:build In file included from ../../ace/Asynch_IO_Impl.h:37:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:519:29: note: in instantiation of member function 'ACE_Atomic_Op_GCC<short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<short>::operator= (rhs);
:info:build                             ^
:info:build In file included from ../../ace/Asynch_IO_Impl.cpp:3:
:info:build In file included from ../../ace/Asynch_IO_Impl.h:37:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:545:38: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned short>::operator= (rhs);
:info:build                                      ^
:info:build In file included from ../../ace/Asynch_IO_Impl.cpp:3:
:info:build In file included from ../../ace/Asynch_IO_Impl.h:37:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile bool *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:573:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<bool>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<bool>::operator= (rhs);
:info:build                            ^
:info:build 1 warning and 6 errors generated.
:info:build make[3]: *** [libACE_la-Asynch_IO_Impl.lo] Error 1
:info:build In file included from ../../ace/Asynch_IO.cpp:3:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned int *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:440:36: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned int>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned int>::operator= (rhs);
:info:build                                    ^
:info:build In file included from ../../ace/Asynch_IO.cpp:3:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:466:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<long>::operator= (rhs);
:info:build                            ^
:info:build In file included from ../../ace/Asynch_IO.cpp:3:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:492:37: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned long>::operator= (rhs);
:info:build                                     ^
:info:build In file included from ../../ace/Asynch_IO.cpp:3:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:519:29: note: in instantiation of member function 'ACE_Atomic_Op_GCC<short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<short>::operator= (rhs);
:info:build                             ^
:info:build In file included from ../../ace/Asynch_IO.cpp:3:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:545:38: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned short>::operator= (rhs);
:info:build                                      ^
:info:build In file included from ../../ace/Asynch_IO.cpp:3:
:info:build In file included from ../../ace/Asynch_IO.h:44:
:info:build In file included from ../../ace/Refcounted_Auto_Ptr.h:19:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile bool *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:573:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<bool>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<bool>::operator= (rhs);
:info:build                            ^
:info:build 1 warning and 6 errors generated.
:info:build make[3]: *** [libACE_la-Asynch_IO.lo] Error 1
:info:build In file included from ../../ace/Asynch_Pseudo_Task.cpp:3:
:info:build In file included from ../../ace/Asynch_Pseudo_Task.h:24:
:info:build In file included from ../../ace/Reactor.h:31:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned int *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:440:36: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned int>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned int>::operator= (rhs);
:info:build                                    ^
:info:build In file included from ../../ace/Asynch_Pseudo_Task.cpp:3:
:info:build In file included from ../../ace/Asynch_Pseudo_Task.h:24:
:info:build In file included from ../../ace/Reactor.h:31:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:466:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<long>::operator= (rhs);
:info:build                            ^
:info:build In file included from ../../ace/Asynch_Pseudo_Task.cpp:3:
:info:build In file included from ../../ace/Asynch_Pseudo_Task.h:24:
:info:build In file included from ../../ace/Reactor.h:31:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned long *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:492:37: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned long>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned long>::operator= (rhs);
:info:build                                     ^
:info:build In file included from ../../ace/Asynch_Pseudo_Task.cpp:3:
:info:build In file included from ../../ace/Asynch_Pseudo_Task.h:24:
:info:build In file included from ../../ace/Reactor.h:31:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:519:29: note: in instantiation of member function 'ACE_Atomic_Op_GCC<short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<short>::operator= (rhs);
:info:build                             ^
:info:build In file included from ../../ace/Asynch_Pseudo_Task.cpp:3:
:info:build In file included from ../../ace/Asynch_Pseudo_Task.h:24:
:info:build In file included from ../../ace/Reactor.h:31:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile unsigned short *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:545:38: note: in instantiation of member function 'ACE_Atomic_Op_GCC<unsigned short>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<unsigned short>::operator= (rhs);
:info:build                                      ^
:info:build In file included from ../../ace/Asynch_Pseudo_Task.cpp:3:
:info:build In file included from ../../ace/Asynch_Pseudo_Task.h:24:
:info:build In file included from ../../ace/Reactor.h:31:
:info:build In file included from ../../ace/Event_Handler.h:24:
:info:build In file included from ../../ace/Atomic_Op.h:59:
:info:build In file included from ../../ace/Atomic_Op_GCC_T.h:121:
:info:build ../../ace/Atomic_Op_GCC_T.inl:118:36: error: cannot initialize a parameter of type 'volatile int *' with an rvalue of type 'volatile bool *'
:info:build   (void) __sync_lock_test_and_set (&this->value_, rhs);
:info:build                                    ^~~~~~~~~~~~~
:info:build ../../ace/Atomic_Op.inl:573:28: note: in instantiation of member function 'ACE_Atomic_Op_GCC<bool>::operator=' requested here
:info:build   ACE_Atomic_Op_GCC<bool>::operator= (rhs);
:info:build                            ^
:info:build 1 warning and 6 errors generated.
:info:build make[3]: *** [libACE_la-Asynch_Pseudo_Task.lo] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build/ace'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build/ace'
:info:build make[1]: *** [all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build/ace'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/work/ACE_wrappers/build" && /usr/bin/make -j5 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for libACE): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for libACE is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libACE/libACE/main.log

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: enrique.fernandez.perdomo@… added
Keywords: clang added; libace removed
Owner: changed from macports-tickets@… to pixilla@…
Port: libACE added
Summary: possible libace compile problemlibACE: build fails with clang

So we need to employ PortfileRecipes#compiler.

comment:2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: @… added; enrique.fernandez.perdomo@… removed
Resolution: fixed
Status: newclosed

Fixed in r89821

Note: See TracTickets for help on using tickets.