Bug 13081 - lttng-tools fails to build for x32
Summary: lttng-tools fails to build for x32
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.7 M2
Assignee: Kai Kang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-12-13 03:40 UTC by Kai Kang
Modified: 2018-12-17 05:49 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Kang 2018-12-13 03:40:22 UTC
| ../../../lttng-tools-2.10.5/src/common/error.c: In function 'log_add_time':
| ../../../lttng-tools-2.10.5/src/common/error.c:62:24: warning: format '%ld' expects argument of type 'long int', but argument 7 has type '__syscall_slon]
|     "%02d:%02d:%02d.%09ld",
|                     ~~~~^
|                     %09lld
|     tm.tm_hour, tm.tm_min, tm.tm_sec, tp.tv_nsec);                                                                                                      
|                                       ~~~~~~~~~~                                                                                                        
| ../../../lttng-tools-2.10.5/src/common/utils.c: Assembler messages:
| ../../../lttng-tools-2.10.5/src/common/utils.c:1026: Error: register type mismatch for `bsr'                                                            
| ../../../lttng-tools-2.10.5/src/common/utils.c:1028: Error: operand type mismatch for `movq'                                                            
| make[3]: *** [utils.lo] Error 1
| make[3]: Leaving directory `/home/kkang/buildarea/Yocto/build/tmp/work/x86_64_x32-poky-linux-gnux32/lttng-tools/2.10.5-r0/build/src/common'             
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/home/kkang/buildarea/Yocto/build/tmp/work/x86_64_x32-poky-linux-gnux32/lttng-tools/2.10.5-r0/build/src/common'             
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/kkang/buildarea/Yocto/build/tmp/work/x86_64_x32-poky-linux-gnux32/lttng-tools/2.10.5-r0/build/src'                    
| make: *** [all-recursive] Error 1