All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sistla, Krishnakanth V" <krishnakanth.v.sistla@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Linker error : linking constant-gp files with non-constant gp fil
Date: Tue, 08 May 2001 02:00:03 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005546@msgid-missing> (raw)

Hi all,

	I am trying to write a miscellanious driver and compile it into the
linux
	kernel. When i try to link two object files created by the below
mentioned 
	commands (during a build) i get the following error. could some help
me 
      please ?

Thanx in advance
KK



---------------------------------------------
kernel version 

linux-2.4.0test10-001115

--------------------------command sequence--

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fno-strict-aliasing 
-fomit-frame-pointer -pipe -Wa,-x -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127
-funwind-tables 
-mconstant-gp   -c -o ia64pmon.o test.c

gcc  -D__KERNEL__ -I/usr/src/linux/include  -c -o ia64pmon_s.o test_s.S


ld  -r -o misc.o test.o test_s.o


ld: test_s.o: linking constant-gp files with non-constant-gp files
Bad value: failed to merge target specific data of the file test_s.o

----------------------------------------------------------------------------
------------------



             reply	other threads:[~2001-05-08  2:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-08  2:00 Sistla, Krishnakanth V [this message]
2001-05-08  3:22 ` [Linux-ia64] Linker error : linking constant-gp files with non-constant gp fil es Keith Owens
2001-05-08  3:26 ` David Mosberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590693005546@msgid-missing \
    --to=krishnakanth.v.sistla@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.