Skip to content

rk3036-kylin compilation fails on arm-linux-gnueabihf-gcc 6.3.0 (Ubuntu 17.04) #37

Closed

Description

@harsszegi

Hello,
have latest gcc installed via aptitude install, kernel fails to compile.

drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/siutils.c:544:14: warning: self-comparison always evaluates to false [-Wtautological-compare]
error, forbidden warning: siutils.c:544

net/rfkill/rfkill-bt.c: In function ‘rfkill_rk_remove’:
net/rfkill/rfkill-bt.c:703:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
error, forbidden warning: rfkill-bt.c:703

Please advise

Activity

  1. wzyy2 commented on Oct 9, 2017

    @wzyy2

    Please search it first.
    #36

    Do you want to build image for rk3036? Unfortunately, the last time i have test it is one years ago...... I'm afraid that it's totally broken now since the software have been changed a lot....

  2. harsszegi commented on Oct 9, 2017

    @harsszegi
    Author

    Yups, I have a Kylin 1.1 board which I'd like to build uboot+kernel+rootfs to build

  3. wzyy2 commented on Oct 9, 2017

    @wzyy2

    To build a workable image, kernel/u-boot/build code-base might need be checkout to 2017.02.

  4. wzyy2 commented on Nov 10, 2017

    @wzyy2

    We have fix some bugs in rk3036 and i think now source code in github can build a workable image for rk3036 platform.

  5. harsszegi commented on Dec 3, 2017

    @harsszegi
    Author

    Hello,

    net/rfkill/rfkill-bt.c: In function ‘rfkill_rk_remove’:
    net/rfkill/rfkill-bt.c:703:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/siutils.c: In function ‘si_doattach’:
    drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/siutils.c:607:14: warning: self-comparison always evaluates to false [-Wtautological-compare]
    error, forbidden warning: siutils.c:607

    what exact version of gcc is required/supported?
    I am using 7.2

    arm-linux-gnueabihf-gcc (Ubuntu/Linaro 7.2.0-6ubuntu1) 7.2.0
    Copyright (C) 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  6. Caesar-github commented on Dec 14, 2017

    @Caesar-github
    Contributor

    we have fixed it for now, update it on next version

  7. harsszegi commented on Dec 14, 2017

    @harsszegi
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions