FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 01-15-2008, 01:26 PM
Zoltan Kota
 
Default recode and gcc-4.3 (Was: Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

Hi,

Can you help me to find out what the problem is with recode compiled
with gcc-4.3.0?
The log is here:
http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/unsorted/recode-3.6-24.fc8.log

Thanks
Zoltan

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-15-2008, 02:29 PM
Pádraig Brady
 
Default recode and gcc-4.3 (Was: Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

Zoltan Kota wrote:
> Hi,
>
> Can you help me to find out what the problem is with recode compiled
> with gcc-4.3.0?
> The log is here:
> http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/unsorted/recode-3.6-24.fc8.log

Looks like gcc is giving an error now for bitfields
that are larger than their types.
In this particular case it gives an error for:

struct {
bool ignore:2;
};

Does the attached patch help?

cheers,
Pádraig.
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 01-15-2008, 02:30 PM
Benjamin Kosnik
 
Default recode and gcc-4.3 (Was: Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220)

> Can you help me to find out what the problem is with recode compiled
> with gcc-4.3.0?
> The log is here:
> http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/unsorted/recode-3.6-24.fc8.log

Error is:

gcc -DLIBDIR="/usr/local/lib" -DHAVE_CONFIG_H -I.. -I. -I../lib
-I../libiconv -g -O2 -c combine.c -fPIC -DPIC -o .libs/combine.lo
argmatch.c: In function '__argmatch_die': argmatch.c:69: warning:
incompatible implicit declaration of built-in function 'exit' In file
included from common.h:140, from charname.c:20:
recodext.h:221: error: width of 'ignore' exceeds its type

So, you'll need to look at recodext.h, line 221:

/* Non zero if this one should be ignored. */
bool ignore : 2;

Changing this to

/* Non zero if this one should be ignored. */
bool ignore;

Will fix it.

Patch attached.

-benjamin--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 12:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org