Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47047 - patch to compile glib 1.2.10 with gcc 3.4
Summary: patch to compile glib 1.2.10 with gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 01:05 UTC by Travis Tilley (RETIRED)
Modified: 2004-04-08 02:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix glib 1.2.10 when compiling with gcc 3.4 (glib-1.2.10-gcc-3.4-fix.patch,1.96 KB, patch)
2004-04-07 01:06 UTC, Travis Tilley (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Tilley (RETIRED) gentoo-dev 2004-04-07 01:05:51 UTC
glib 1.2.10 fails to compile with the following error:

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG    -O2 -pipe -fstrength-reduce -fstrict-aliasing -fprefetch-loop-arrays -mieee-fp -finline-function -msse -msse2 -funit-at-a-time -frename-registers -ftracer -fweb -march=k8 -fPIC -c gstring.c
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG -O2 -pipe -fstrength-reduce -fstrict-aliasing -fprefetch-loop-arrays -mieee-fp -finline-function -msse -msse2 -funit-at-a-time -frename-registers -ftracer -fweb -march=k8 -fPIC -c gstrfuncs.c  -fPIC -o .libs/gstrfuncs.o
gstrfuncs.c: In function `g_printf_string_upper_bound':
gstrfuncs.c:870: error: syntax error before string constant
gstrfuncs.c:1037: error: syntax error before string constant
gstrfuncs.c:1080: error: syntax error before string constant
make[2]: *** [gstrfuncs.lo] Error 1

I'll post a patch to fix this
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-04-07 01:06:47 UTC
Created attachment 28821 [details, diff]
patch to fix glib 1.2.10 when compiling with gcc 3.4
Comment 2 Joshua Kinard gentoo-dev 2004-04-08 02:33:37 UTC
Fixed in CVS, thanks.