Skip to content

What compiler version should be used in ubuntu 18.04? #1

@s0nghuiming

Description

@s0nghuiming

Hi kind developers,
As said in the title, I am compiling debs using gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0 in ubuntu 18.04. I met many errors while compiling.
I am using branch b2_10, because my lustre server is 2.10 lustre installed.

Error output :
such as this of one error. From the output it seems gcc is something to do with it.

lsnapshot.c:1328:31: error: '__builtin___snprintf_chk' output truncated before the last format character [-Werror=format-truncation=]
snprintf(new_fsname, 8, "%08x", (__u32)random());

Sorry for the format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions