linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: linux-pm build failure
       [not found] <536BBAF8.6040601@semaphore.gr>
@ 2014-05-08 19:44 ` Rafael J. Wysocki
  2014-05-09  1:45   ` Lan Tianyu
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2014-05-08 19:44 UTC (permalink / raw)
  To: Stratos Karafotis, Lv Zheng, Lan Tianyu
  Cc: Bob Moore, linux-pm@vger.kernel.org, ACPI Devel Maling List

On Thursday, May 08, 2014 08:12:24 PM Stratos Karafotis wrote:
> Hi all,

Hi,

Thanks for the report!

This is caused by commit

0e23847d5ee4 ACPICA: Export acpi_buffer_to_resource symbol

merged on top of the recent ACPICA material.

Lv, Tianyu, care to take care of this?

> There is a build failure in latest linux-pm bleeding-edge:
> 
> In file included from include/linux/linkage.h:6:0,
>                  from include/linux/kernel.h:6,
>                  from include/acpi/platform/aclinux.h:64,
>                  from include/acpi/platform/acenv.h:150,
>                  from include/acpi/acpi.h:56,
>                  from drivers/acpi/acpica/rscreate.c:44:
> include/linux/export.h:59:20: error: redefinition of ‘__kstrtab_acpi_buffer_to_resource’
>   static const char __kstrtab_##sym[]   \
>                     ^
> include/linux/export.h:69:2: note: in expansion of macro ‘__EXPORT_SYMBOL’
>   __EXPORT_SYMBOL(sym, "")
>   ^
> include/acpi/platform/aclinux.h:110:37: note: in expansion of macro ‘EXPORT_SYMBOL’
>  #define ACPI_EXPORT_SYMBOL(symbol)  EXPORT_SYMBOL(symbol);
>                                      ^
> drivers/acpi/acpica/rscreate.c:119:1: note: in expansion of macro ‘ACPI_EXPORT_SYMBOL’
>  ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource)
>  ^
> include/linux/export.h:59:20: note: previous definition of ‘__kstrtab_acpi_buffer_to_resource’ was here
>   static const char __kstrtab_##sym[]   \
>                     ^
> include/linux/export.h:69:2: note: in expansion of macro ‘__EXPORT_SYMBOL’
>   __EXPORT_SYMBOL(sym, "")
>   ^
> include/acpi/platform/aclinux.h:110:37: note: in expansion of macro ‘EXPORT_SYMBOL’
>  #define ACPI_EXPORT_SYMBOL(symbol)  EXPORT_SYMBOL(symbol);
>                                      ^
> drivers/acpi/acpica/rscreate.c:117:1: note: in expansion of macro ‘ACPI_EXPORT_SYMBOL’
>  ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource);
>  ^
> include/linux/export.h:63:39: error: redefinition of ‘__ksymtab_acpi_buffer_to_resource’
>   __visible const struct kernel_symbol __ksymtab_##sym \
>                                        ^
> include/linux/export.h:69:2: note: in expansion of macro ‘__EXPORT_SYMBOL’
>   __EXPORT_SYMBOL(sym, "")
>   ^
> include/acpi/platform/aclinux.h:110:37: note: in expansion of macro ‘EXPORT_SYMBOL’
>  #define ACPI_EXPORT_SYMBOL(symbol)  EXPORT_SYMBOL(symbol);
>                                      ^
> drivers/acpi/acpica/rscreate.c:119:1: note: in expansion of macro ‘ACPI_EXPORT_SYMBOL’
>  ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource)
>  ^
> include/linux/export.h:63:39: note: previous definition of ‘__ksymtab_acpi_buffer_to_resource’ was here
>   __visible const struct kernel_symbol __ksymtab_##sym \
>                                        ^
> include/linux/export.h:69:2: note: in expansion of macro ‘__EXPORT_SYMBOL’
>   __EXPORT_SYMBOL(sym, "")
>   ^
> include/acpi/platform/aclinux.h:110:37: note: in expansion of macro ‘EXPORT_SYMBOL’
>  #define ACPI_EXPORT_SYMBOL(symbol)  EXPORT_SYMBOL(symbol);
>                                      ^
> drivers/acpi/acpica/rscreate.c:117:1: note: in expansion of macro ‘ACPI_EXPORT_SYMBOL’
>  ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource);
>  ^
> make[3]: *** [drivers/acpi/acpica/rscreate.o] Error 1
> make[2]: *** [drivers/acpi/acpica] Error 2
> make[1]: *** [drivers/acpi] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make: *** [drivers] Error 2
> 
> 
> Reverting commit 51e35823eb57 ("ACPICA: Update acpi_buffer_to_resource interface"), build completes fine.
> 
> 
> Thanks,
> Stratos Karafotis
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

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

* Re: linux-pm build failure
  2014-05-08 19:44 ` linux-pm build failure Rafael J. Wysocki
@ 2014-05-09  1:45   ` Lan Tianyu
  2014-05-09 21:36     ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Lan Tianyu @ 2014-05-09  1:45 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Stratos Karafotis, Lv Zheng, Bob Moore, linux-pm@vger.kernel.org,
	ACPI Devel Maling List

On 2014年05月09日 03:44, Rafael J. Wysocki wrote:
> On Thursday, May 08, 2014 08:12:24 PM Stratos Karafotis wrote:
>> Hi all,
> 
> Hi,
> 
> Thanks for the report!
> 
> This is caused by commit
> 
> 0e23847d5ee4 ACPICA: Export acpi_buffer_to_resource symbol
> 
> merged on top of the recent ACPICA material.
> 
> Lv, Tianyu, care to take care of this?

Hi Rafael:
	Just check commit 51e35823eb57 and find it also exports
acpi_buffer_to_resource symbol which commit 0e23847d5ee4 has already
done. I think you can drop commit 0e23847d5ee4 which only exports symbol
without any other changes.

> 
>> There is a build failure in latest linux-pm bleeding-edge:
>>
>> In file included from include/linux/linkage.h:6:0,
>>                  from include/linux/kernel.h:6,
>>                  from include/acpi/platform/aclinux.h:64,
>>                  from include/acpi/platform/acenv.h:150,
>>                  from include/acpi/acpi.h:56,
>>                  from drivers/acpi/acpica/rscreate.c:44:
>> include/linux/export.h:59:20: error: redefinition of ‘__kstrtab_acpi_buffer_to_resource’
>>   static const char __kstrtab_##sym[]   \
>>                     ^
>> include/linux/export.h:69:2: note: in expansion of macro ‘__EXPORT_SYMBOL’
>>   __EXPORT_SYMBOL(sym, "")
>>   ^
>> include/acpi/platform/aclinux.h:110:37: note: in expansion of macro ‘EXPORT_SYMBOL’
>>  #define ACPI_EXPORT_SYMBOL(symbol)  EXPORT_SYMBOL(symbol);
>>                                      ^
>> drivers/acpi/acpica/rscreate.c:119:1: note: in expansion of macro ‘ACPI_EXPORT_SYMBOL’
>>  ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource)
>>  ^
>> include/linux/export.h:59:20: note: previous definition of ‘__kstrtab_acpi_buffer_to_resource’ was here
>>   static const char __kstrtab_##sym[]   \
>>                     ^
>> include/linux/export.h:69:2: note: in expansion of macro ‘__EXPORT_SYMBOL’
>>   __EXPORT_SYMBOL(sym, "")
>>   ^
>> include/acpi/platform/aclinux.h:110:37: note: in expansion of macro ‘EXPORT_SYMBOL’
>>  #define ACPI_EXPORT_SYMBOL(symbol)  EXPORT_SYMBOL(symbol);
>>                                      ^
>> drivers/acpi/acpica/rscreate.c:117:1: note: in expansion of macro ‘ACPI_EXPORT_SYMBOL’
>>  ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource);
>>  ^
>> include/linux/export.h:63:39: error: redefinition of ‘__ksymtab_acpi_buffer_to_resource’
>>   __visible const struct kernel_symbol __ksymtab_##sym \
>>                                        ^
>> include/linux/export.h:69:2: note: in expansion of macro ‘__EXPORT_SYMBOL’
>>   __EXPORT_SYMBOL(sym, "")
>>   ^
>> include/acpi/platform/aclinux.h:110:37: note: in expansion of macro ‘EXPORT_SYMBOL’
>>  #define ACPI_EXPORT_SYMBOL(symbol)  EXPORT_SYMBOL(symbol);
>>                                      ^
>> drivers/acpi/acpica/rscreate.c:119:1: note: in expansion of macro ‘ACPI_EXPORT_SYMBOL’
>>  ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource)
>>  ^
>> include/linux/export.h:63:39: note: previous definition of ‘__ksymtab_acpi_buffer_to_resource’ was here
>>   __visible const struct kernel_symbol __ksymtab_##sym \
>>                                        ^
>> include/linux/export.h:69:2: note: in expansion of macro ‘__EXPORT_SYMBOL’
>>   __EXPORT_SYMBOL(sym, "")
>>   ^
>> include/acpi/platform/aclinux.h:110:37: note: in expansion of macro ‘EXPORT_SYMBOL’
>>  #define ACPI_EXPORT_SYMBOL(symbol)  EXPORT_SYMBOL(symbol);
>>                                      ^
>> drivers/acpi/acpica/rscreate.c:117:1: note: in expansion of macro ‘ACPI_EXPORT_SYMBOL’
>>  ACPI_EXPORT_SYMBOL(acpi_buffer_to_resource);
>>  ^
>> make[3]: *** [drivers/acpi/acpica/rscreate.o] Error 1
>> make[2]: *** [drivers/acpi/acpica] Error 2
>> make[1]: *** [drivers/acpi] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>> make: *** [drivers] Error 2
>>
>>
>> Reverting commit 51e35823eb57 ("ACPICA: Update acpi_buffer_to_resource interface"), build completes fine.
>>
>>
>> Thanks,
>> Stratos Karafotis
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Best regards
Tianyu Lan

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

* Re: linux-pm build failure
  2014-05-09  1:45   ` Lan Tianyu
@ 2014-05-09 21:36     ` Rafael J. Wysocki
  2014-05-10  6:22       ` Stratos Karafotis
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2014-05-09 21:36 UTC (permalink / raw)
  To: Lan Tianyu
  Cc: Stratos Karafotis, Lv Zheng, Bob Moore, linux-pm@vger.kernel.org,
	ACPI Devel Maling List

On Friday, May 09, 2014 09:45:27 AM Lan Tianyu wrote:
> On 2014年05月09日 03:44, Rafael J. Wysocki wrote:
> > On Thursday, May 08, 2014 08:12:24 PM Stratos Karafotis wrote:
> >> Hi all,
> > 
> > Hi,
> > 
> > Thanks for the report!
> > 
> > This is caused by commit
> > 
> > 0e23847d5ee4 ACPICA: Export acpi_buffer_to_resource symbol
> > 
> > merged on top of the recent ACPICA material.
> > 
> > Lv, Tianyu, care to take care of this?
> 
> Hi Rafael:
> 	Just check commit 51e35823eb57 and find it also exports
> acpi_buffer_to_resource symbol which commit 0e23847d5ee4 has already
> done. I think you can drop commit 0e23847d5ee4 which only exports symbol
> without any other changes.

Done, thanks!

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

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

* Re: linux-pm build failure
  2014-05-09 21:36     ` Rafael J. Wysocki
@ 2014-05-10  6:22       ` Stratos Karafotis
  0 siblings, 0 replies; 4+ messages in thread
From: Stratos Karafotis @ 2014-05-10  6:22 UTC (permalink / raw)
  To: Rafael J. Wysocki, Lan Tianyu
  Cc: Lv Zheng, Bob Moore, linux-pm@vger.kernel.org,
	ACPI Devel Maling List

On 10/05/2014 12:36 πμ, Rafael J. Wysocki wrote:
> On Friday, May 09, 2014 09:45:27 AM Lan Tianyu wrote:
>> On 2014年05月09日 03:44, Rafael J. Wysocki wrote:
>>> On Thursday, May 08, 2014 08:12:24 PM Stratos Karafotis wrote:
>>>> Hi all,
>>>
>>> Hi,
>>>
>>> Thanks for the report!
>>>
>>> This is caused by commit
>>>
>>> 0e23847d5ee4 ACPICA: Export acpi_buffer_to_resource symbol
>>>
>>> merged on top of the recent ACPICA material.
>>>
>>> Lv, Tianyu, care to take care of this?
>>
>> Hi Rafael:
>> 	Just check commit 51e35823eb57 and find it also exports
>> acpi_buffer_to_resource symbol which commit 0e23847d5ee4 has already
>> done. I think you can drop commit 0e23847d5ee4 which only exports symbol
>> without any other changes.
> 
> Done, thanks!
> 

Now it builds fine!

Thank you!
Stratos

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

end of thread, other threads:[~2014-05-10  6:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <536BBAF8.6040601@semaphore.gr>
2014-05-08 19:44 ` linux-pm build failure Rafael J. Wysocki
2014-05-09  1:45   ` Lan Tianyu
2014-05-09 21:36     ` Rafael J. Wysocki
2014-05-10  6:22       ` Stratos Karafotis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).