Why is this an issue?

Using multiple times the same name for different architectures is confusing. Names should be unique and should describe the functionality.

How to fix it

Code examples

Noncompliant code example

File 1:
architecture fly of entity1 is ...

File 2:
architecture fly of entity2 is ...

Compliant solution

File 1:
architecture fly of entity1 is ...

File 2:
architecture dream of entity2 is ...