Diffusion problems in microelectronic packaging