XieGuochao / csapp

The docker source and materials for CS:APP labs
MIT License
189 stars 65 forks source link

gdb can't run in docker with M1 chip #5

Closed HomuraCat closed 3 years ago

HomuraCat commented 3 years ago

When I use the gdb in docker and try to run the code. It turns out as follows:

(gdb) r
Starting program:  
warning: Error disabling address space randomization: Operation not permitted
No executable file specified.
Use the "file" or "exec-file" command.

Are there any ways to solve it?

XieGuochao commented 3 years ago

Fix with Tag 1.6-arm64.

BDXGD commented 1 year ago

Is it fixed ?

BDXGD commented 1 year ago

When I use the gdb in docker and try to run the code. It turns out as follows:

(gdb) r
Starting program:  
warning: Error disabling address space randomization: Operation not permitted
No executable file specified.
Use the "file" or "exec-file" command.

Are there any ways to solve it?

Hi, can you run successfully with m1 chip ?