jadonk / jadonk/rowboat

Error to build android filesystem when builing SGX kernel modules

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. make TARGET_PRODUCT=beagle OMAPES=3.x
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Ubuntu 11.10

Please provide any additional information below.

CC [M] /home/wflee/projects/beagleboard/TI_Android_GingerBread_2_3_4Sources/hardware/ti/sgx/eurasiacon/binary2_omap_android_release/target/kbuild/services4/srvkm/devices/sgx/sgxinit.o
cc1: warnings being treated as errors
/home/wflee/projects/beagleboard/TI_Android_GingerBread_2_3_4Sources/hardware/ti
/sgx/eurasiacon/binary2_omap_android_release/target/kbuild/services4/srvkm/devic
es/sgx/sgxinit.c: In function 'SGXDumpDebugInfo':
/home/wflee/projects/beagleboard/TI_Android_GingerBread_2_3_4Sources/hardware/ti
/sgx/eurasiacon/binary2_omap_android_release/target/kbuild/services4/srvkm/devic
es/sgx/sgxinit.c:978: error: format '%X' expects type 'unsigned int', but
argument 2 has type 'long unsigned int'
/home/wflee/projects/beagleboard/TI_Android_GingerBread_2_3_4Sources/hardware/ti
/sgx/eurasiacon/binary2_omap_android_release/target/kbuild/services4/srvkm/devic
es/sgx/sgxinit.c:996: error: format '%X' expects type 'unsigned int', but
argument 2 has type 'long unsigned int'
make[5]: ***
[/home/wflee/projects/beagleboard/TI_Android_GingerBread_2_3_4Sources/hardware/t
i/sgx/eurasiacon/binary2_omap_android_release/target/kbuild/services4/srvkm/devi
ces/sgx/sgxinit.o] Error 1
make[4]: ***
[_module_/home/wflee/projects/beagleboard/TI_Android_GingerBread_2_3_4Sources/ha
rdware/ti/sgx/eurasiacon/binary2_omap_android_release/target/kbuild] Error 2
make[3]: *** [kbuild] Error 2
make[2]: *** [build] Error 2
make[2]: Leaving directory
`/home/wflee/projects/beagleboard/TI_Android_GingerBread_2_3_4Sources/hardware/t
i/sgx/eurasiacon/build/linux2/omap_android'
make[1]: *** [buildkernel] Error 2
make[1]: Leaving directory
`/home/wflee/projects/beagleboard/TI_Android_GingerBread_2_3_4Sources/hardware/t
i/sgx'
make: *** [sgx] Error 2

```

Original issue reported on code.google.com by `gwflee` on 18 Jan 2012 at 9:27

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with hardware/ti/sgx/eurasiacon/binary2_omap_android_release/target/kbuild/services4/srvkm/devices/sgx/sgxinit.c at lines 978 and 996, then review the SGXDumpDebugInfo build output. Reproduce with `make TARGET_PRODUCT=beagle OMAPES=3.x` on the Android GingerBread source tree and confirm the SGX kernel modules build without the format warning being treated as an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c, linux
Domain
build-system, embedded-iot, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.