All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.4 patch and powernow-k8
@ 2004-12-02 22:13 omv
  2004-12-03  9:09 ` Dominik Brodowski
  0 siblings, 1 reply; 7+ messages in thread
From: omv @ 2004-12-02 22:13 UTC (permalink / raw)
  To: cpufreq

I've been trying to patch cpufreq into a recent 2.4 kernel and having 
some problems.  When I've config'ed powernow-k8 to be static linked, I 
get the below errors.  Compiling as a module works, but yields 
unresolvable symbols when trying to load the module.

The speedstep-centrino seems to build fine (though I can't test it on my 
laptop), and I'm guessing there is a build issue in which symbols are 
exported.  However, I don't actually understand the build process enough 
to make any headway...

BTW:  I've tried on kernels 2.4.25 -> 2.4.28, and tried a couple 
different snapshots from ftp://ftp.linux.org.uk/pub/linux/cpufreq/ as 
well as the latest stuff in the cvs repository.

Any help would be appreciated,

-dan


make[1]: Leaving directory `/usr/src/linux-2.4.28/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.28/arch/i386/vmlinux.lds -e stext 
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o 
init/version.o init/do_mounts.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o 
mm/mm.o fs/fs.o ipc/ipc.o \
         drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o 
drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o 
drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o 
drivers/cdrom/driver.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o 
drivers/pnp/pnp.o drivers/video/video.o drivers/media/media.o 
drivers/input/inputdrv.o drivers/cpufreq/built-in.o \
        net/network.o \
        /usr/src/linux-2.4.28/arch/i386/lib/lib.a 
/usr/src/linux-2.4.28/lib/lib.a /usr/src/linux-2.4.28/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
arch/i386/kernel/kernel.o(.data+0x1d80): In function `trampoline_end':
: undefined reference to `local symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1
[root@queue38 linux-2.4.28]#

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: 2.4 patch and powernow-k8
@ 2004-12-03  0:00 Langsdorf, Mark
  0 siblings, 0 replies; 7+ messages in thread
From: Langsdorf, Mark @ 2004-12-03  0:00 UTC (permalink / raw)
  To: omv, cpufreq

> I've been trying to patch cpufreq into a recent 2.4 kernel and having 
> some problems.  When I've config'ed powernow-k8 to be static 
> linked, I get the below errors.  

> arch/i386/kernel/kernel.o(.data+0x1d80): In function `trampoline_end':
> : undefined reference to `local symbols in discarded section 
> .text.exit'
> make: *** [vmlinux] Error 1

I can't quite reproduce this error on my AMD64 system, but 
I can get something awfully close, in that I see the undefined
reference error.  I have no idea what the problem is.  It only
happens when the powernow-k8.c code is compiled, but I can't
see anything in the code that would produce that.

This is occuring on RHEL3 U2 with gcc-3.2.3.  Anyone have
any ideas?

-Mark Langsdorf
AMD, Inc.

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

end of thread, other threads:[~2004-12-14 12:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-02 22:13 2.4 patch and powernow-k8 omv
2004-12-03  9:09 ` Dominik Brodowski
2004-12-03 20:50   ` omv
2004-12-13 13:32     ` Bruno Ducrot
2004-12-13 18:59       ` omv
2004-12-14 12:00         ` Bruno Ducrot
  -- strict thread matches above, loose matches on Subject: below --
2004-12-03  0:00 Langsdorf, Mark

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.