public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7
@ 2005-03-18  6:32 Martin J. Bligh
  2005-03-18  6:44 ` Andrew Morton
  0 siblings, 1 reply; 8+ messages in thread
From: Martin J. Bligh @ 2005-03-18  6:32 UTC (permalink / raw)
  To: linux-kernel

drivers/built-in.o(.text+0x182bc): In function `.matroxfb_probe':
: undefined reference to `.mac_vmode_to_var'
make: *** [.tmp_vmlinux1] Error 1

Anyone know what that is?

M.


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

* Re: ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7
  2005-03-18  6:32 ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7 Martin J. Bligh
@ 2005-03-18  6:44 ` Andrew Morton
  2005-03-18  6:46   ` Martin J. Bligh
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew Morton @ 2005-03-18  6:44 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: linux-kernel

"Martin J. Bligh" <mbligh@aracnet.com> wrote:
>
> drivers/built-in.o(.text+0x182bc): In function `.matroxfb_probe':
> : undefined reference to `.mac_vmode_to_var'
> make: *** [.tmp_vmlinux1] Error 1
> 
> Anyone know what that is?
> 

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm4/broken-out/fbdev-kconfig-fix-for-macmodes-and-ppc.patch

should fix it.

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

* Re: ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7
  2005-03-18  6:44 ` Andrew Morton
@ 2005-03-18  6:46   ` Martin J. Bligh
  2005-03-18  9:29   ` Mikael Pettersson
  2005-03-20  4:58   ` Martin J. Bligh
  2 siblings, 0 replies; 8+ messages in thread
From: Martin J. Bligh @ 2005-03-18  6:46 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel



--Andrew Morton <akpm@osdl.org> wrote (on Thursday, March 17, 2005 22:44:09 -0800):

> "Martin J. Bligh" <mbligh@aracnet.com> wrote:
>> 
>> drivers/built-in.o(.text+0x182bc): In function `.matroxfb_probe':
>> : undefined reference to `.mac_vmode_to_var'
>> make: *** [.tmp_vmlinux1] Error 1
>> 
>> Anyone know what that is?
>> 
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm4/broken-out/fbdev-kconfig-fix-for-macmodes-and-ppc.patch
> 
> should fix it.
> 
> 

Thanks - will retest.

M.


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

* Re: ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7
  2005-03-18  6:44 ` Andrew Morton
  2005-03-18  6:46   ` Martin J. Bligh
@ 2005-03-18  9:29   ` Mikael Pettersson
  2005-03-18  9:35     ` Mikael Pettersson
  2005-03-18 16:24     ` Joel Schopp
  2005-03-20  4:58   ` Martin J. Bligh
  2 siblings, 2 replies; 8+ messages in thread
From: Mikael Pettersson @ 2005-03-18  9:29 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Martin J. Bligh, linux-kernel

Andrew Morton writes:
 > "Martin J. Bligh" <mbligh@aracnet.com> wrote:
 > >
 > > drivers/built-in.o(.text+0x182bc): In function `.matroxfb_probe':
 > > : undefined reference to `.mac_vmode_to_var'
 > > make: *** [.tmp_vmlinux1] Error 1
 > > 
 > > Anyone know what that is?
 > > 
 > 
 > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm4/broken-out/fbdev-kconfig-fix-for-macmodes-and-ppc.patch
 > 
 > should fix it.

It seems the culprit is "matroxfb-compile-error.patch" which unconditionally adds
macmodes.o to the Makefile line for CONFIG_FB_MATROX. This obviously breaks on !ppc.
The patch Andrew mentions above converts the Kconfig entry for FB_MATROX to do a
"select FB_MACMODES if PPC_PMAC", so dropping matroxfb-compile-error.patch should suffice.

/Mikael

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

* Re: ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7
  2005-03-18  9:29   ` Mikael Pettersson
@ 2005-03-18  9:35     ` Mikael Pettersson
  2005-03-18 15:20       ` Martin J. Bligh
  2005-03-18 16:24     ` Joel Schopp
  1 sibling, 1 reply; 8+ messages in thread
From: Mikael Pettersson @ 2005-03-18  9:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Martin J. Bligh, linux-kernel

Mikael Pettersson writes:
 > Andrew Morton writes:
 >  > "Martin J. Bligh" <mbligh@aracnet.com> wrote:
 >  > >
 >  > > drivers/built-in.o(.text+0x182bc): In function `.matroxfb_probe':
 >  > > : undefined reference to `.mac_vmode_to_var'
 >  > > make: *** [.tmp_vmlinux1] Error 1
 >  > > 
 >  > > Anyone know what that is?
 >  > > 
 >  > 
 >  > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm4/broken-out/fbdev-kconfig-fix-for-macmodes-and-ppc.patch
 >  > 
 >  > should fix it.
 > 
 > It seems the culprit is "matroxfb-compile-error.patch" which unconditionally adds
 > macmodes.o to the Makefile line for CONFIG_FB_MATROX. This obviously breaks on !ppc.

!pmac of course; I assume Martin configured for some kind of POWER box and not a G5.

 > The patch Andrew mentions above converts the Kconfig entry for FB_MATROX to do a
 > "select FB_MACMODES if PPC_PMAC", so dropping matroxfb-compile-error.patch should suffice.

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

* Re: ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7
  2005-03-18  9:35     ` Mikael Pettersson
@ 2005-03-18 15:20       ` Martin J. Bligh
  0 siblings, 0 replies; 8+ messages in thread
From: Martin J. Bligh @ 2005-03-18 15:20 UTC (permalink / raw)
  To: Mikael Pettersson, Andrew Morton; +Cc: linux-kernel



--Mikael Pettersson <mikpe@csd.uu.se> wrote (on Friday, March 18, 2005 10:35:13 +0100):

> Mikael Pettersson writes:
>  > Andrew Morton writes:
>  >  > "Martin J. Bligh" <mbligh@aracnet.com> wrote:
>  >  > >
>  >  > > drivers/built-in.o(.text+0x182bc): In function `.matroxfb_probe':
>  >  > > : undefined reference to `.mac_vmode_to_var'
>  >  > > make: *** [.tmp_vmlinux1] Error 1
>  >  > > 
>  >  > > Anyone know what that is?
>  >  > > 
>  >  > 
>  >  > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm4/broken-out/fbdev-kconfig-fix-for-macmodes-and-ppc.patch
>  >  > 
>  >  > should fix it.
>  > 
>  > It seems the culprit is "matroxfb-compile-error.patch" which unconditionally adds
>  > macmodes.o to the Makefile line for CONFIG_FB_MATROX. This obviously breaks on !ppc.
> 
> !pmac of course; I assume Martin configured for some kind of POWER box and not a G5.
> 
>  > The patch Andrew mentions above converts the Kconfig entry for FB_MATROX to do a
>  > "select FB_MACMODES if PPC_PMAC", so dropping matroxfb-compile-error.patch should suffice.
> 
> 

Yeah, it's a 4x LPAR on PPC690 Power 4 server.

M.


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

* Re: ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7
  2005-03-18  9:29   ` Mikael Pettersson
  2005-03-18  9:35     ` Mikael Pettersson
@ 2005-03-18 16:24     ` Joel Schopp
  1 sibling, 0 replies; 8+ messages in thread
From: Joel Schopp @ 2005-03-18 16:24 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: Andrew Morton, Martin J. Bligh, linux-kernel

Mikael Pettersson wrote:
> Andrew Morton writes:
>  > "Martin J. Bligh" <mbligh@aracnet.com> wrote:
>  > >
>  > > drivers/built-in.o(.text+0x182bc): In function `.matroxfb_probe':
>  > > : undefined reference to `.mac_vmode_to_var'
>  > > make: *** [.tmp_vmlinux1] Error 1
>  > > 
>  > > Anyone know what that is?
>  > > 
>  > 
>  > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm4/broken-out/fbdev-kconfig-fix-for-macmodes-and-ppc.patch
>  > 
>  > should fix it.
> 
> It seems the culprit is "matroxfb-compile-error.patch" which unconditionally adds
> macmodes.o to the Makefile line for CONFIG_FB_MATROX. This obviously breaks on !ppc.
> The patch Andrew mentions above converts the Kconfig entry for FB_MATROX to do a
> "select FB_MACMODES if PPC_PMAC", so dropping matroxfb-compile-error.patch should suffice.
> 
> 

matroxfb-compile-error.patch was a valid fix for a compile problem. It 
was against 2.6.11-bk10, therefore wasn't in the 2.6.11-bk6 or 2.6.11bk7 
you had problems with and didn't cause this mess to begin with.

It appears the problem was more systemic than what I saw during my 
compile, thus the fbdev-kconfig-fix-for-macmodes-and-ppc.patch probably 
fixes the problem I fixed and a host of others.  Of course it conflicts 
with my patch.

Please drop the matroxfb-compile-error.patch and if the problem isn't 
truly fixed by fbdev-kconfig-fix-for-macmodes-and-ppc.patch I will 
resend it.

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

* Re: ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7
  2005-03-18  6:44 ` Andrew Morton
  2005-03-18  6:46   ` Martin J. Bligh
  2005-03-18  9:29   ` Mikael Pettersson
@ 2005-03-20  4:58   ` Martin J. Bligh
  2 siblings, 0 replies; 8+ messages in thread
From: Martin J. Bligh @ 2005-03-20  4:58 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel



--Andrew Morton <akpm@osdl.org> wrote (on Thursday, March 17, 2005 22:44:09 -0800):

> "Martin J. Bligh" <mbligh@aracnet.com> wrote:
>> 
>> drivers/built-in.o(.text+0x182bc): In function `.matroxfb_probe':
>> : undefined reference to `.mac_vmode_to_var'
>> make: *** [.tmp_vmlinux1] Error 1
>> 
>> Anyone know what that is?
>> 
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11/2.6.11-mm4/broken-out/fbdev-kconfig-fix-for-macmodes-and-ppc.patch
> 
> should fix it.

Great - tested, that fixed it up for me.

Thanks,

M.


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

end of thread, other threads:[~2005-03-20  4:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-18  6:32 ppc64 build broke between 2.6.11-bk6 and 2.6.11-bk7 Martin J. Bligh
2005-03-18  6:44 ` Andrew Morton
2005-03-18  6:46   ` Martin J. Bligh
2005-03-18  9:29   ` Mikael Pettersson
2005-03-18  9:35     ` Mikael Pettersson
2005-03-18 15:20       ` Martin J. Bligh
2005-03-18 16:24     ` Joel Schopp
2005-03-20  4:58   ` Martin J. Bligh

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