Getting Error When Building Project That Uses Vectors, `__vector_1' referenced in section `.vectors', defin, (symbol from plugin)ed in discarded section `.text'

I found it we just add ‘used’ word as the second parameter of attribute((signal, used));