Skip to content

multiple definition of `X86ISA::GDB_REG_BYTES #2

Description

@kf200660306

When I use "scons build/X86/gem5.opt" to build gem5, it show some error to me.

build/X86/arch/x86/remote_gdb.o:(.bss+0x0): multiple definition of `X86ISA::GDB_REG_BYTES'
build/X86/sim/system.o:(.bss+0x28): first defined here
collect2: error: ld returned 1 exit status
scons: *** [build/X86/gem5.opt] Error 1

Because system.o is a object file, I can not write or delete code.

Do you have any ways to solve the problem?

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