Try commenting out the function in libcglue.c. On another note, latest svn broke compilation of my game engine (which previously was fine on psp-gcc 4.3.0), so I tried to go back to a previous revision, and still it failed, because the install script somehow will always download latest svn revision.
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O3 -G0 -Wall -I. -I/usr/local/pspdev/psp/sdk/include -O3 -G0 -Wall -D_PSP_FW_VERSION=390 -I../../include -Izlib -Ijpeglib -Ilibpng /usr/local/pspdev/psp/sdk/include -c -o CAttributes.o CAttributes.cpp
In file included from CAttributes.cpp:6:
CAttributeImpl.h: In member function ‘virtual engine::s32 engine::io::CUserPointerAttribute::getInt()’:
CAttributeImpl.h:1945: warning: dereferencing type-punned pointer will break strict-aliasing rules
CAttributeImpl.h: In member function ‘virtual void engine::io::CUserPointerAttribute::getString(char*)’:
CAttributeImpl.h:1955: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../include/fast_atof.h: In function ‘const char* engine::core::fast_atof_move(const char*, engine::f32&)’:
../../include/fast_atof.h:157: warning: ‘afterDecimal’ may be used uninitialized in this function
CAttributes.cpp: At global scope:
CAttributes.cpp:1552: internal compiler error: output_operand: floating constant misused
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [CAttributes.o] Error 1
Insert_witty_name wrote:I re-committed the patch for libcglue and performed a full install of the toolchain from scratch to test (revision 2446).
Worked fine for me.
There is still error, now in the svn, the time.h says:
int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z));
BUT libcglue.c :
int gettimeofday(struct timeval *tp, void *tzp)