On 2/23/07, Robert T Wyatt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On my dual G5, I've gotten this error twice with gcc42 from the
> 10.4-unstable tree. Happy to provide more info. Complete output is
> available here:
> http://reg066.reg.utexas.edu/~rgrtw-05/fink/gcc42-4.1.9999-20070221.txt
>
>
> /sw/src/fink.build/gcc42-4.1.9999-20070221/darwin_objdir/./prev-gcc/xgcc
> -B/sw/src/fink.build/gcc42-4.1.9999-20070221/darwin_objdir/./prev-gcc/
> -B/sw/lib/gcc4.2/powerpc-apple-darwin8/bin/ -c   -g -O2 -mdynamic-no-pic
> -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
> -Wno-overlength-strings -Wold-style-definition
> -Wmissing-format-attribute -Wc++-compat    -DHAVE_CONFIG_H -I. -Icp
> -I../../gcc-4.2-20070221/gcc -I../../gcc-4.2-20070221/gcc/cp
> -I../../gcc-4.2-20070221/gcc/../include
> -I../../gcc-4.2-20070221/gcc/../libcpp/include -I/sw/include
> -I../../gcc-4.2-20070221/gcc/../libdecnumber -I../libdecnumber
> -I/sw/include   ../../gcc-4.2-20070221/gcc/cp/decl2.c -o cp/decl2.o
> ../../gcc-4.2-20070221/gcc/cp/decl2.c: In function 'mark_used':
> ../../gcc-4.2-20070221/gcc/cp/decl2.c:3558: error: 'd' undeclared (first
> use in this function)
> ../../gcc-4.2-20070221/gcc/cp/decl2.c:3558: error: (Each undeclared
> identifier is reported only once
> ../../gcc-4.2-20070221/gcc/cp/decl2.c:3558: error: for each function it
> appears in.)
> ../../gcc-4.2-20070221/gcc/cp/decl2.c:3558: error: 'cl' undeclared
> (first use in this function)
> ../../gcc-4.2-20070221/gcc/cp/decl2.c:3559: warning: implicit
> declaration of function 'template_for_substitutioN'
> ../../gcc-4.2-20070221/gcc/cp/decl2.c:3559: error: invalid type argument
> of '->'
> ../../gcc-4.2-20070221/gcc/cp/decl2.c:3564:1: warning: null character(s)
> ignored
> make[3]: *** [cp/decl2.o] Error 1
> make[2]: *** [all-stage3-gcc] Error 2
> make[1]: *** [stage3-bubble] Error 2
> make: *** [all] Error 2
> ### execution of /var/tmp/tmp.0.kIQKxa failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc42-4.1.9999-20070221
> (Reading database ... 497027 files and directories currently installed.)

Interesting...it worked for me on my single-processor G4.

I've heard tell that -Os optimization is generally preferable to -O2
for compiling on OS X--that's what Apple uses to build the OS, in
fact--but I'm not sufficiently knowledgeable about the details to pin
the problem on that.

-- 
Alexander K. Hansen
(akh)
Fink Documenter (still)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to