Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 09:54:36 -0700 (PDT)
From:      Doug Barton <dougb@FreeBSD.org>
To:        dinoex@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   graphics/png does not compile with gcc 4.5.1
Message-ID:  <alpine.BSF.2.00.1006290952200.23004@qbhto.arg>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1006290952200.23004>