A semiconductor structure and method for forming the same. The
semiconductor structure includes (a) a substrate and (b) a chip which
includes N chip solder balls, N is a positive integer, and the N chip
solder balls are in electrical contact with the substrate. The
semiconductor structure further includes (c) first, second, third, and
fourth corner underfill regions which are respectively at first, second,
third, and fourth corners of the chip, and sandwiched between the chip
and the substrate. The semiconductor structure further includes (d) a
main underfill region sandwiched between the chip and the substrate. The
first, second, third, and fourth corner underfill regions, and the main
underfill region occupy essentially an entire space between the chip and
the substrate. A corner underfill material of the first, second, third,
and fourth corner underfill regions is different from a main underfill
material of the main underfill region.