Brillouin light scattering measurements have been used to study the stress induced modification in the elastic properties of two glass forming polymers: polybutadiene and epoxy-amine resin, prototypes of linear and network polymers, respectively. Following the usual thermodynamic path to the glass transition, polybutadiene has been studied as a function of temperature from the liquid well into the glassy phase. In the epoxy resin, the experiments took advantage of the system ability to reach the glass both via the chemical vitrification route, i.e., by increasing the number of covalent bonds among the constituent molecules, as well as via the physical thermal route, i.e., by decreasing the temperature. Independently from the particular way chosen to reach the glassy phase, the measurements reveal the signature of long range tensile stresses development in the glass. The stress presence modifies both the value of the sound velocities and their mutual relationship, so as to break the generalized Cauchy-like relation. In particular, when long range stresses, by improvise sample cracking, are released, the frequency of longitudinal acoustic modes increases more than 10% in polybutadiene and ∼4% in the epoxy resin. The data analysis suggests the presence of at least two different mechanisms acting on different length scales which strongly affect the overall elastic behaviour of the systems: (i) the development of tensile stress acting as a negative pressure and (ii) the development of anisotropy which increases its importance deeper and deeper in the glassy state.