public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linker Error With Kernel 2.4.4pre6 and GCC 2.95.3 (Debian)
@ 2001-04-21 23:18 ruschein
  2001-04-22  0:35 ` Eyal Lebedinsky
  0 siblings, 1 reply; 3+ messages in thread
From: ruschein @ 2001-04-21 23:18 UTC (permalink / raw)
  To: linux-kernel

Here is what I get under a fairly recent Debian woody:

/usr/src/kernel/linux-2.4.4-pre6/lib/lib.a(rwsem.o): In function `__rwsem_do_wake':
rwsem.o(.text+0x2e): undefined reference to `__builtin_expect'
rwsem.o(.text+0x6f): undefined reference to `__builtin_expect'
make: *** [vmlinux] Error 1
bender:/usr/src/kernel/linux-2.4.4-pre6 [root]# gcc --version
2.95.3

-- 
Johannes
--
Dr. Johannes Ruscheinski
Infomine Lead Programmer            ***              LINUX,             ***
EMail:    ruschein@infomine.ucr.edu ***                                 ***
Location: science library, room 218 *** The Choice Of A GNU Generation! ***
Phone:    (909) 787-2290

If you want to send me any documents please read
http://www.infradead.org/fileexchange.html first.  Thanks!

 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

"Sanity's just a one trick pony anyway.  You only get one trick --
 rational thinking -- but when you're good and crazy, the sky's the limit!"
 -- The Tick"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Linker Error With Kernel 2.4.4pre6 and GCC 2.95.3 (Debian)
  2001-04-21 23:18 Linker Error With Kernel 2.4.4pre6 and GCC 2.95.3 (Debian) ruschein
@ 2001-04-22  0:35 ` Eyal Lebedinsky
  2001-04-22  9:37   ` Steffen Moser
  0 siblings, 1 reply; 3+ messages in thread
From: Eyal Lebedinsky @ 2001-04-22  0:35 UTC (permalink / raw)
  Cc: linux-kernel

ruschein@brimstone.ucr.edu wrote:
> 
> Here is what I get under a fairly recent Debian woody:
> 
> /usr/src/kernel/linux-2.4.4-pre6/lib/lib.a(rwsem.o): In function `__rwsem_do_wake':
> rwsem.o(.text+0x2e): undefined reference to `__builtin_expect'
> rwsem.o(.text+0x6f): undefined reference to `__builtin_expect'
> make: *** [vmlinux] Error 1
> bender:/usr/src/kernel/linux-2.4.4-pre6 [root]# gcc --version
> 2.95.3

I get the same error with Debian stable (2.2-r3)

# gcc --version
2.95.2

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.anu.edu.au/eyal/>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Linker Error With Kernel 2.4.4pre6 and GCC 2.95.3 (Debian)
  2001-04-22  0:35 ` Eyal Lebedinsky
@ 2001-04-22  9:37   ` Steffen Moser
  0 siblings, 0 replies; 3+ messages in thread
From: Steffen Moser @ 2001-04-22  9:37 UTC (permalink / raw)
  To: Eyal Lebedinsky; +Cc: linux-kernel

Hello,

Eyal Lebedinsky wrote:

> I get the same error with Debian stable (2.2-r3)
> 
> # gcc --version
> 2.95.2

The same here (SuSE Linux 7.0, x86 edition):

  steffen@fs01:~ > gcc --version
  2.95.2

I was able to compile and link it successfully after applying Niels'
patch which is available at:

  http://boudicca.tux.org/hypermail/linux-kernel/2001week17/0009.html

Best regards,
Steffen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-22  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-21 23:18 Linker Error With Kernel 2.4.4pre6 and GCC 2.95.3 (Debian) ruschein
2001-04-22  0:35 ` Eyal Lebedinsky
2001-04-22  9:37   ` Steffen Moser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox