9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.62k stars 320 forks source link

Compilation errors on Ubuntu 16.04 #516

Closed ghost closed 3 years ago

ghost commented 3 years ago

If I try to compile the git repo on Ubuntu 16.04, I get these errors:

+ Mailing list: https://groups.google.com/group/plan9port-dev
+ Issue tracker: https://github.com/9fans/plan9port/issues/
+ Submitting changes: https://github.com/9fans/plan9port/pulls

* Resetting /home/red/git/plan9port/config
* Compiler version:
    gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1~16.04) 
* Building mk...
>>> pwd
>>> cd /home/red/git/plan9port/src/lib9
9c readcons.c
     write(fd, "\n", 1);
     ^
     write(fd, "\n", 1);
     ^
cc1: warning: unrecognized command line option ‘-Wno-format-truncation’
cc1: warning: unrecognized command line option ‘-Wno-stringop-overflow’
cc1: warning: unrecognized command line option ‘-Wno-stringop-truncation’
cc1: warning: unrecognized command line option ‘-Wno-misleading-indentation’
>>> pwd
>>> pwd
>>> pwd

The compile process finishes and I am able to run sam. Are these warnings significant? If so, how can I resolve the issue?

I am bound to use Ubuntu 16.04 for work purposes.

dancrossnyc commented 3 years ago

If it finishes and the programs work, I wouldn't stress on the compiler warnings: they're harmless. Ubuntu 16.04 is pretty old, and it doesn't make a lot of sense to special-case it.