Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 89476 - gcc crashes with error in "remap_page_range_R2baf18f2"
gcc crashes with error in "remap_page_range_R2baf18f2"
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-04-23 08:02 EDT by Ralf Kleineisel
Modified: 2007-04-18 12:53 EDT (History)
0 users

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

Attachments (Terms of Use)

  None (edit)
Description Ralf Kleineisel 2003-04-23 08:02:36 EDT
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 08:10:33 EDT
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.