[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1226.0. "ld: mmap failure, No such device or address" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Fri Jan 27 1995 16:37

Date Of Receipt: 	27-JAN-1995 16:25:38.49
From: 	SMURF::FLAMBE::jmf "Joshua M. Friedman OSF/UNIX SDE  27-Jan-1995 1624"
To: 	buildhelp@DEC:.zko.flambe
CC: 	williams@DEC:.zko.flambe, lowell@DEC:.zko.flambe
Subj: 	ld: mmap failure, No such device or address

Can anyone offer help to John here?  thanks...		-josh

------- Forwarded Message

Return-Path: williams 
Delivery-Date: Fri, 27 Jan 95 11:15:08 -0500
Return-Path: williams
Received: from styrax.zk3.dec.com by flambe.zk3.dec.com; (5.65/1.1.8.2/30Mar94-0502PM)
	id AA02166; Fri, 27 Jan 1995 11:15:07 -0500
Received: by alpha.zk3.dec.com; (5.65/1.1.8.2/15Sep94-0303PM)
	id AA21736; Fri, 27 Jan 1995 11:15:06 -0500
Date: Fri, 27 Jan 1995 11:15:06 -0500
From: John Williams <williams>
Message-Id: <[email protected]>
To: jmf
Subject: Strange Problem
Cc: lowell


	I have been getting this strange problem when working
	with the clustwav3os backing tree. I try to rebuild the
	/usr/sbin/ase area and I end up with the following:

pt: Warning: file not optimized; use -g3 if both optimization and debug wanted
/usr/sde/osf1/build/clustwav3os/tools/alpha_OSF1/alpha/acc/cc   -std0 -EL -call_shared -tr -h`ge
nloc -d /export/alpha/usr/lib/cmplrs/cc/crt0.o` -B -O2     `genpath  -L../asecdb -L../util -L../
dirCntl -L../msgsvc ` -L/usr/projects/ase/williams/wav3sb/export/alpha/usr/shlib -L/usr/sde/osf1
/build/clustwav3os/export/alpha/usr/shlib  -L/usr/projects/ase/williams/wav3sb/export/alpha/usr/
ccs/lib -L/usr/sde/osf1/build/clustwav3os/export/alpha/usr/ccs/lib -o asemgr.X asemgr.o  db_ctrl
.o  db_edit.o  db_help.o  db_menu.o  db_mgr_io.o  db_search.o  db_verify.o  db_util.o  -lasecdb
- -ldirectorCntl -laseUtil -lmsgSvc -lasecdb -lcfg  
ld:
mmap failure, No such device or address
*** Exit 1
Stop.
*** Exit 1


------- End of Forwarded Message


T.RTitleUserPersonal
Name
DateLines
1226.1Re: ld: mmap failure, No such device or addressAOSG::FILTERAutomatic Posting Software - mail to flume::puckFri Jan 27 1995 19:4315
Date Of Receipt: 	27-JAN-1995 18:47:05.35
From: 	SMURF::ALPHA::shashi "Shashi Mangalat USG  27-Jan-1995 1845"
To: 	"Joshua M. Friedman, OSF/UNIX SDE 381-1548" <jmf@DEC:.zko.alpha>
CC: 	buildhelp@DEC:.zko.alpha, williams@DEC:.zko.alpha, lowell@DEC:.zko.alpha
Subj: 	Re: ld: mmap failure, No such device or address

I have seen this failure when mmap()ing a file with a larger size than
the actual file size.  This error (ENXIO) is returned from mmap() when
the size specified is 0 or as I mentioned the requested size is beyond
the EOF.

Now, why would ld do such a thing?

--shashi