Bug 89476 - gcc crashes with error in "remap_page_range_R2baf18f2"
Summary: gcc crashes with error in "remap_page_range_R2baf18f2"
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
(Show other bugs)
Version: 9
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-04-23 12:02 UTC by Ralf Kleineisel
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-23 12:10:33 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Ralf Kleineisel 2003-04-23 12:02:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
gcc does not compile various sources with the error:

dag.c: In function `dag_mmap':
dag.c:1665: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer
from integer without a cast
dag.c:1665: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
dag.c:1665: too few arguments to function `remap_page_range_R2baf18f2'
make[1]: *** [dag.o] Error 1
make[1]: Leaving directory `/root/dag-2.4.9/drv'
make: *** [all] Error 2

This happens with different c-sources from different authors that compile fine
on other distributions of linux.

One example is mplayer-0.90-1.src.rpm.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Get mplayer-0.90-1.src.rpm
2. cd /usr/src/redhat/BUILD/MPlayer-0.90/drivers
3. make

Actual Results:  See above.

Expected Results:  Should compile.

Additional info:

Comment 1 Jakub Jelinek 2003-04-23 12:10:33 UTC
What makes you think gcc crashes on the code? It just emits error diagnostic,
where the code you're trying to compile supplies less arguments to
remap_page_range_R2baf18f2 function than its prototype requires.

Note You need to log in before you can comment on or make changes to this bug.