Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-qy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-qy
  • Repository
  • linux-qy
  • arch
  • sparc
  • vdso
  • Makefile
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    sparc: vdso: fix build error of vdso32 · 53472914
    Masahiro Yamada authored Sep 22, 2019
    Since commit 54b8ae66 ("kbuild: change *FLAGS_<basetarget>.o to
    take the path relative to $(obj)"), sparc allmodconfig fails to build
    as follows:
    
      CC      arch/sparc/vdso/vdso32/vclock_gettime.o
    unrecognized e_machine 18 arch/sparc/vdso/vdso32/vclock_gettime.o
    arch/sparc/vdso/vdso32/vclock_gettime.o: failed
    
    The cause of the breakage is that -pg flag not being dropped.
    
    The vdso32 files are located in the vdso32/ subdirectory, but I missed
    to update the Makefile.
    
    I removed the meaningless CFLAGS_REMOVE_vdso-note.o since it is only
    effective for C file.
    
    vdso-note.o is compiled from assembly file:
    
      arch/sparc/vdso/vdso-note.S
      arch/sparc/vdso/vdso32/vdso-note.S
    
    Fixes: 54b8ae66
    
     ("kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj)")
    Reported-by: default avatarAnatoly Pugachev <matorola@gmail.com>
    Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Tested-by: default avatarAnatoly Pugachev <matorola@gmail.com>
    Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
    53472914