Bug 91496 - compile fails with defaults config and compiler!
Summary: compile fails with defaults config and compiler!
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 9
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-23 11:51 UTC by Pádraig Brady
Modified: 2007-04-18 16:53 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2004-09-30 15:40:59 UTC


Attachments (Terms of Use)

Description Pádraig Brady 2003-05-23 11:51:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210

Description of problem:
compile fails with:

ld -m elf_i386  -r -o oprofile.o init.o timer_int.o
../../../drivers/oprofile/oprof.o ../../../drivers/oprofile/cpu_buffer.o
../../../drivers/oprofile/buffer_sync.o ../../../drivers/oprofile/event_buffer.o
../../../drivers/oprofile/oprofile_files.o
../../../drivers/oprofile/oprofilefs.o ../../../drivers/oprofile/oprofile_stats.o
../../../drivers/oprofile/event_buffer.o(.text+0x0): In function `dcookie_register':
: multiple definition of `dcookie_register'
../../../drivers/oprofile/buffer_sync.o(.text+0x0): first defined here
../../../drivers/oprofile/event_buffer.o(.text+0x10): In function
`dcookie_unregister':
: multiple definition of `dcookie_unregister'
../../../drivers/oprofile/buffer_sync.o(.text+0x10): first defined here
make[2]: *** [oprofile.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/arch/i386/oprofile'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/arch/i386/oprofile'
make: *** [_dir_arch/i386/oprofile] Error 2

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

How reproducible:
Always

Steps to Reproduce:
cd /usr/src/linux-2.4/
cp configs/kernel-2.4.20-i686.config .config
make oldconfig dep bzImage modules


Additional info:

Comment 1 Arjan van de Ven 2003-05-23 12:21:51 UTC
please start with "make mrproper" as very first step


Comment 2 Pádraig Brady 2003-05-23 13:49:30 UTC
sorry I did do that with the same results.
I know this is fundamental and probably
my fault, but it's a new install and I
can't understand why it would fall over.

Comment 3 Peter Fales 2004-01-02 16:34:33 UTC
I'm seeing exactly the same thing starting with with 2.4.20-27.9  (I
didn't have the problem with any earlier releases)

To reproduce:

make mrproper
cp configs/kernel-2.4.20-i686.config .config
make oldconfig dep bzImage

This is an up-to-date RH9 system, nothing special installed, and it's 
the same build procedure I've used with all the earlier kernels.

Comment 4 Arjan van de Ven 2004-01-02 16:46:36 UTC
sometimes you need 2x make oldconfig....
if that fixes it for you then somehow it broke in the erratum...


Comment 5 Peter Fales 2004-01-02 17:53:01 UTC
Sure enough - running make oldconfig twice got it working!

Comment 6 Bugzilla owner 2004-09-30 15:40:59 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/



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