Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87873 - 64-bit related compile warnings in m4
Summary: 64-bit related compile warnings in m4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-03 23:34 UTC by Matt Hargett
Modified: 2005-05-04 20:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Hargett 2005-04-03 23:34:36 UTC
Usually seeing these kinds of warnings below indicates potential for crashes on 64-bit platforms. Looking at the source makes it look like this is the case.

regex.c: In function `re_match_2_internal':
regex.c:3993: warning: cast from pointer to integer of different size
regex.c:3993: warning: cast from pointer to integer of different size
regex.c:3999: warning: cast to pointer from integer of different size
regex.c:3999: warning: cast to pointer from integer of different size
regex.c:4146: warning: cast to pointer from integer of different size
regex.c:4146: warning: cast to pointer from integer of different size
regex.c:4199: warning: cast to pointer from integer of different size
regex.c:4199: warning: cast to pointer from integer of different size
regex.c:4369: warning: cast from pointer to integer of different size
regex.c:4369: warning: cast from pointer to integer of different size
regex.c:4402: warning: cast to pointer from integer of different size
regex.c:4402: warning: cast to pointer from integer of different size
regex.c:4415: warning: cast to pointer from integer of different size
regex.c:4415: warning: cast to pointer from integer of different size
regex.c:4586: warning: cast from pointer to integer of different size
regex.c:4586: warning: cast from pointer to integer of different size


Reproducible: Always
Steps to Reproduce:
emerge m4 and look at the compile warnings/errors

Actual Results:  
cast to/from pointer to/from integer of different size warnings 

Expected Results:  
no pointer truncation warnings on 64-bit platforms
Comment 1 SpanKY gentoo-dev 2005-05-04 20:32:36 UTC
ok, i grabbed the min changes required from the gnulib cvs and added to our 1.4.3 ebuild