[Bf-committers] blender gcc 4.1 and profiling

Campbell Barton cbarton at metavr.com
Wed Mar 1 03:17:45 CET 2006


Tried, but I get this error. and only when   -fwhole-program --combine  
are used.

/storage/blender/obj/linux-glibc2.3.6-i386/blender/makesdna/makesdna.o: 
In function `preprocess_include':
makesdna.c:(.text+0x6b7): undefined reference to `MEM_mallocN'
makesdna.c:(.text+0x747): undefined reference to `MEM_freeN'
/storage/blender/obj/linux-glibc2.3.6-i386/blender/makesdna/makesdna.o: 
In function `convert_include':
makesdna.c:(.text+0xc6a): undefined reference to `MEM_mallocN'
makesdna.c:(.text+0xc97): undefined reference to `MEM_freeN'
makesdna.c:(.text+0xd37): undefined reference to `MEM_freeN'
/storage/blender/obj/linux-glibc2.3.6-i386/blender/makesdna/makesdna.o: 
In function `make_structDNA':
makesdna.c:(.text+0xff3): undefined reference to `MEM_callocN'
makesdna.c:(.text+0x100f): undefined reference to `MEM_callocN'
makesdna.c:(.text+0x102b): undefined reference to `MEM_callocN'
makesdna.c:(.text+0x1047): undefined reference to `MEM_callocN'
makesdna.c:(.text+0x1063): undefined reference to `MEM_callocN'
/storage/blender/obj/linux-glibc2.3.6-i386/blender/makesdna/makesdna.o:makesdna.c:(.text+0x107f): 
more undefined references to `MEM_callocN' follow
/storage/blender/obj/linux-glibc2.3.6-i386/blender/makesdna/makesdna.o: 
In function `make_structDNA':
makesdna.c:(.text+0x13f3): undefined reference to `MEM_freeN'
makesdna.c:(.text+0x1401): undefined reference to `MEM_freeN'
makesdna.c:(.text+0x140f): undefined reference to `MEM_freeN'
makesdna.c:(.text+0x141d): undefined reference to `MEM_freeN'
makesdna.c:(.text+0x142b): undefined reference to `MEM_freeN'
/storage/blender/obj/linux-glibc2.3.6-i386/blender/makesdna/makesdna.o:makesdna.c:(.text+0x1439): 
more undefined references to `MEM_freeN' follow
collect2: ld returned 1 exit status
make[4]: *** 
[/storage/blender/obj/linux-glibc2.3.6-i386/blender/makesdna/makesdna] 
Error 1

Tom M wrote:
> has anyone used profiling and -fwhole-program --combine of the newly
> released gcc 4.1 - if so it would be very interesting to see what sort
> of performance improvements are made for blender.  Also what types of
> items you are using to create your profiles.
>
> http://gcc.gnu.org/gcc-4.1/changes.html
>
> LetterRip
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>   


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241


More information about the Bf-committers mailing list