gcc 4.5 introduced an error that is causing these failures.
Unfortunately, this is not a simple fix in the code.  This problem
might be fixed in the 4.5.1 version, but I'm not aware that anybody
has tried the experiment yet.

Rick

On Thu, Sep 23, 2010 at 6:12 AM, Manfred Lotz <[email protected]> wrote:
> Hi folks,
> I'm running Arch Linux and tried to build oorexx ooRexx-4.0.0 on x86-64
> architecture and got the following:
>
>
>
> g++ -DHAVE_CONFIG_H -I.    -DORX_VER=4 -DORX_REL=0 -DORX_MOD=0
> -DORX_FIX=0 -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/bin\"
> -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
> -march=x86-64 -mtune=generic -O2 -pipe -march=x86-64 -mtune=generic -O2
> -pipe         -Wall         -funsigned-char
> -Wpointer-arith         -Wcast-qual         -Wcast-align
> -Wshadow         -Wwrite-strings         -D__cplusplus
> -Wredundant-decls                              -DNOOPT
> -DPTHREAD_KERNEL                  -D_POSIX_THREAD
> -D_REENTRANT                   -D_GNU_SOURCE
> -DLINUX               -DOPSYS_LINUX -MT rexximage-rexximage.o -MD -MP
> -MF .deps/rexximage-rexximage.Tpo -c -o rexximage-rexximage.o `test -f
> './utilities/rexximage/rexximage.cpp' || echo
> './'`./utilities/rexximage/rexximage.cpp mv
> -f .deps/rexximage-rexximage.Tpo .deps/rexximage-rexximage.Po /bin/sh 
> ./libtool
> --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.    -DORX_VER=4
> -DORX_REL=0 -DORX_MOD=0 -DORX_FIX=0 -DORX_SYS_STR=\"LINUX\"
> -DORX_CATDIR=\"/usr/bin\" -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib
> -I./api -I./api/platform/unix -I./common -I./common/platform/unix
> -I./interpreter -I./interpreter/behaviour -I./interpreter/execution
> -I./interpreter/memory -I./interpreter/package
> -I./interpreter/concurrency -I./interpreter/expression
> -I./interpreter/instructions -I./interpreter/classes
> -I./interpreter/classes/support -I./interpreter/runtime
> -I./interpreter/parser -I./interpreter/messages
> -I./interpreter/streamLibrary -I./interpreter/platform/common
> -I./interpreter/platform/unix -march=x86-64 -mtune=generic -O2 -pipe
> -march=x86-64 -mtune=generic -O2 -pipe         -Wall
> -funsigned-char         -Wpointer-arith         -Wcast-qual
> -Wcast-align         -Wshadow         -Wwrite-strings
> -D__cplusplus         -Wredundant-decls
> -DNOOPT -DPTHREAD_KERNEL                  -D_POSIX_THREAD
> -D_REENTRANT                   -D_GNU_SOURCE
> -DLINUX               -DOPSYS_LINUX -MT librexx_la-ArrayClass.lo -MD
> -MP -MF .deps/librexx_la-ArrayClass.Tpo -c -o librexx_la-ArrayClass.lo
> `test -f './interpreter/classes/ArrayClass.cpp' || echo
> './'`./interpreter/classes/ArrayClass.cpp mkdir .libs g++
> -DHAVE_CONFIG_H -I. -DORX_VER=4 -DORX_REL=0 -DORX_MOD=0 -DORX_FIX=0
> -DORX_SYS_STR=\"LINUX\" -DORX_CATDIR=\"/usr/bin\"
> -DORX_SHARED_LIBRARY_EXT=\".so\" -I./lib -I./api -I./api/platform/unix
> -I./common -I./common/platform/unix -I./interpreter
> -I./interpreter/behaviour -I./interpreter/execution
> -I./interpreter/memory -I./interpreter/package
> -I./interpreter/concurrency -I./interpreter/expression
> -I./interpreter/instructions -I./interpreter/classes
> -I./interpreter/classes/support -I./interpreter/runtime
> -I./interpreter/parser -I./interpreter/messages
> -I./interpreter/streamLibrary -I./interpreter/platform/common
> -I./interpreter/platform/unix -march=x86-64 -mtune=generic -O2 -pipe
> -march=x86-64 -mtune=generic -O2 -pipe -Wall -funsigned-char
> -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wwrite-strings
> -D__cplusplus -Wredundant-decls -DNOOPT -DPTHREAD_KERNEL
> -D_POSIX_THREAD -D_REENTRANT -D_GNU_SOURCE -DLINUX -DOPSYS_LINUX -MT
> librexx_la-ArrayClass.lo -MD -MP -MF .deps/librexx_la-ArrayClass.Tpo
> -c ./interpreter/classes/ArrayClass.cpp  -fPIC -DPIC
> -o .libs/librexx_la-ArrayClass.o In file included
> from ./interpreter/classes/MutableBufferClass.hpp:49:0,
> from ./interpreter/classes/ArrayClass.cpp:75: 
> ./interpreter/classes/BufferClass.hpp:
> In function ‘RexxBuffer*
> new_buffer(size_t)’: ./interpreter/classes/BufferClass.hpp:96:18:
> error: non-placement deallocation function ‘static void
> RexxBuffer::operator delete(void*,
> size_t)’ ./interpreter/classes/BufferClass.hpp:115:59: error: selected
> for placement delete make: *** [librexx_la-ArrayClass.lo] Error 1
> Aborting...
>
>
>
>
> Any idea appreciated.
>
>
>
> --
> Manfred
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to