On Wed, 2004-03-31 at 08:51, Trog wrote: > Have you changed the compiler version? Which version is it? What > architecture are you using (generic, v7, v8, v8a, v8plus, v8plusa, v9, > v9a) > We have been using this compiler for many months. It is called Sun ONE Studio 8. Here is some output. [EMAIL PROTECTED] build]$ cc -V </dev/null cc: Sun C 5.5 Patch 112760-04 2003/10/03 usage: cc [ options] files. Use 'cc -flags' for details [EMAIL PROTECTED] build]$ CC -V </dev/null CC: Sun C++ 5.5 Patch 113817-02 2003/08/29 [EMAIL PROTECTED] build]$
We normally build v8 for sparc and sometimes v8plus and v9. For x86, we normally use '-xarch=386' > Could you try compiling the attachment, and running it, and noting the > output. Then do it again with each of the following compiler flags > added, one per re-compile: > > -xmemalign=1s > -xmemalign=8i > -xmemalign=2i > It looks like it worked each time, assuming that I did this correctly. Here is the ouptut. -- [EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -c test.c "test.c", line 5: warning: implicit function declaration: printf [EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -o test test.o [EMAIL PROTECTED] build]$ ./test ok [EMAIL PROTECTED] build]$ rm test test.o [EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -xmemalign=1s -c test.c "test.c", line 5: warning: implicit function declaration: printf [EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -o test test.o [EMAIL PROTECTED] build]$ ./test ok [EMAIL PROTECTED] build]$ rm test test.o [EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -xmemalign=8i -c test.c "test.c", line 5: warning: implicit function declaration: printf [EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -o test test.o [EMAIL PROTECTED] build]$ ./test ok [EMAIL PROTECTED] build]$ rm test test.o [EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -xmemalign=2i -c test.c "test.c", line 5: warning: implicit function declaration: printf [EMAIL PROTECTED] build]$ cc -fast -xarch=v8 -o test test.o [EMAIL PROTECTED] build]$ ./test ok [EMAIL PROTECTED] build]$ [EMAIL PROTECTED] build]$ -- Cheers, Alex ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users