All of lore.kernel.org
 help / color / mirror / Atom feed
* ckmake build issue with undefined symbol mcount
@ 2014-04-07 13:57 Stefan Assmann
  2014-04-08  0:37 ` Luis R. Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Assmann @ 2014-04-07 13:57 UTC (permalink / raw)
  To: backports; +Cc: Hauke Mehrtens

Tree generated with
./gentree.py --clean --verbose --git-revision next-20140221 /root/linux-next /tmp/next

When running devel/ckmake I see the following
[...]
23  3.7.10              [  LINK  ]
24  3.8.13              [  LINK  ]
25  3.9.11              [  LINK  ]
26  3.10.29             [  LINK  ]
27  3.11.10             [  LINK  ]
28  3.12.10             [  LINK  ]
29  3.13.2              [  LINK  ]
30  3.14-rc1            [  LINK  ]

Looking at ckmake.log there seems to be a problem with mcount.
Building backport-include/backport/autoconf.h ... done.
/root/ksrc-backports/usr/src/linux-headers-3.7.10-030710-generic/arch/x86/Makefile:103: CONFIG_X86_X32 enabled but no binutils support
  CC [M]  /tmp/next/.tmp.ckmake/3.7.10/compat/lib-cordic.o
  LD [M]  /tmp/next/.tmp.ckmake/3.7.10/compat/compat.o
  LD [M]  /tmp/next/.tmp.ckmake/3.7.10/compat/cordic.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: "mcount" [/tmp/next/.tmp.ckmake/3.7.10/compat/cordic.ko] undefined!
WARNING: "mcount" [/tmp/next/.tmp.ckmake/3.7.10/compat/compat.ko] undefined!

This is also the case for every kernel mentioned above.

  Stefan

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

* Re: ckmake build issue with undefined symbol mcount
  2014-04-07 13:57 ckmake build issue with undefined symbol mcount Stefan Assmann
@ 2014-04-08  0:37 ` Luis R. Rodriguez
  2014-04-08  7:39   ` Stefan Assmann
  0 siblings, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2014-04-08  0:37 UTC (permalink / raw)
  To: Stefan Assmann; +Cc: backports@vger.kernel.org, Hauke Mehrtens

On Mon, Apr 7, 2014 at 6:57 AM, Stefan Assmann <sassmann@kpanic.de> wrote:
> next-20140221

Did you git reset --hard backports-20140221 ? The respective dated tag
for backports must be used for a specific dated tag for linux-next.
Likewise for the stable releases.

  Luis

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

* Re: ckmake build issue with undefined symbol mcount
  2014-04-08  0:37 ` Luis R. Rodriguez
@ 2014-04-08  7:39   ` Stefan Assmann
  2014-04-10  7:35     ` Stefan Assmann
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Assmann @ 2014-04-08  7:39 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: backports@vger.kernel.org, Hauke Mehrtens

On 08.04.2014 02:37, Luis R. Rodriguez wrote:
> On Mon, Apr 7, 2014 at 6:57 AM, Stefan Assmann <sassmann@kpanic.de> wrote:
>> next-20140221
> 
> Did you git reset --hard backports-20140221 ? The respective dated tag
> for backports must be used for a specific dated tag for linux-next.
> Likewise for the stable releases.
> 
>   Luis
> 

My backports tree is at 8e946501aef6e3dd5bac12eb45d24df8248672b0 which
should be the same as backports-20140221.

  Stefan

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

* Re: ckmake build issue with undefined symbol mcount
  2014-04-08  7:39   ` Stefan Assmann
@ 2014-04-10  7:35     ` Stefan Assmann
  2014-04-10 11:14       ` Arend van Spriel
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Assmann @ 2014-04-10  7:35 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: backports@vger.kernel.org, Hauke Mehrtens

On 08.04.2014 09:39, Stefan Assmann wrote:
> On 08.04.2014 02:37, Luis R. Rodriguez wrote:
>> On Mon, Apr 7, 2014 at 6:57 AM, Stefan Assmann <sassmann@kpanic.de> wrote:
>>> next-20140221
>>
>> Did you git reset --hard backports-20140221 ? The respective dated tag
>> for backports must be used for a specific dated tag for linux-next.
>> Likewise for the stable releases.
>>
>>   Luis
>>
> 
> My backports tree is at 8e946501aef6e3dd5bac12eb45d24df8248672b0 which
> should be the same as backports-20140221.
> 
>   Stefan
> 

I tried the same again in a newly installed VM and don't see any issues
there. Probably an issue with my build env then. Please ignore.

  Stefan

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

* Re: ckmake build issue with undefined symbol mcount
  2014-04-10  7:35     ` Stefan Assmann
@ 2014-04-10 11:14       ` Arend van Spriel
  0 siblings, 0 replies; 5+ messages in thread
From: Arend van Spriel @ 2014-04-10 11:14 UTC (permalink / raw)
  To: Stefan Assmann
  Cc: Luis R. Rodriguez, backports@vger.kernel.org, Hauke Mehrtens

On 04/10/14 09:35, Stefan Assmann wrote:
> On 08.04.2014 09:39, Stefan Assmann wrote:
>> On 08.04.2014 02:37, Luis R. Rodriguez wrote:
>>> On Mon, Apr 7, 2014 at 6:57 AM, Stefan Assmann<sassmann@kpanic.de>  wrote:
>>>> next-20140221
>>>
>>> Did you git reset --hard backports-20140221 ? The respective dated tag
>>> for backports must be used for a specific dated tag for linux-next.
>>> Likewise for the stable releases.
>>>
>>>    Luis
>>>
>>
>> My backports tree is at 8e946501aef6e3dd5bac12eb45d24df8248672b0 which
>> should be the same as backports-20140221.
>>
>>    Stefan
>>
>
> I tried the same again in a newly installed VM and don't see any issues
> there. Probably an issue with my build env then. Please ignore.

It may related to the used gcc version. I recall a similar issue with 
mcount when I had a kernel build with a different gcc than the driver 
module.

Regards,
Arend

>    Stefan
> --
> To unsubscribe from this list: send the line "unsubscribe backports" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

end of thread, other threads:[~2014-04-10 11:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 13:57 ckmake build issue with undefined symbol mcount Stefan Assmann
2014-04-08  0:37 ` Luis R. Rodriguez
2014-04-08  7:39   ` Stefan Assmann
2014-04-10  7:35     ` Stefan Assmann
2014-04-10 11:14       ` Arend van Spriel

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.