graphics/png does not compile with gcc 4.5.1

Doug Barton dougb at FreeBSD.org
Tue Jun 29 16:54:40 UTC 2010


Tried doing the update today, but it failed:

Full log at http://people.freebsd.org/~dougb/png-gcc451.log

building static png library
ranlib libpng.a
building shared library libpng.so.6
/usr/local/bin/gcc45 -pipe -g -march=native -g -g  -I. -g -std=gnu99 
-fstack-protector  -L. -static -o pngtest pngtest.o -lpng -lz -lm
pngread.So: In function `png_create_read_struct_2':
/usr/local/tmp/usr/local/ports/graphics/png/work/libpng-1.4.3/pngread.c:201: 
undefined reference to `__stack_chk_fail_local'
pngrutil.So: In function `png_read_chunk_header':
/usr/local/tmp/usr/local/ports/graphics/png/work/libpng-1.4.3/pngrutil.c:111: 
undefined reference to `__stack_chk_fail_local'
pngrutil.So: In function `png_inflate':
/usr/local/tmp/usr/local/ports/graphics/png/work/libpng-1.4.3/pngrutil.c:293: 
undefined reference to `__stack_chk_fail_local'
pngrutil.So: In function `png_decompress_chunk':
/usr/local/tmp/usr/local/ports/graphics/png/work/libpng-1.4.3/pngrutil.c:412: 
undefined reference to `__stack_chk_fail_local'
pngrutil.So: In function `png_handle_IHDR':
/usr/local/tmp/usr/local/ports/graphics/png/work/libpng-1.4.3/pngrutil.c:492: 
undefined reference to `__stack_chk_fail_local'
pngrutil.So:/usr/local/tmp/usr/local/ports/graphics/png/work/libpng-1.4.3/pngrutil.c:928: 
more undefined references to `__stack_chk_fail_local' follow
/usr/local/bin/ld: libpng.so.6: hidden symbol `__stack_chk_fail_local' 
isn't defined
/usr/local/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
*** Error code 1
1


-- 

 	Improve the effectiveness of your Internet presence with
 	a domain name makeover!    http://SupersetSolutions.com/

 	Computers are useless. They can only give you answers.
 			-- Pablo Picasso



More information about the freebsd-ports mailing list