stonewall is by no means bad for white unless you are a strategical genius(which 98% of the people aren't) aka master because it only has long term problems for white and by that i mean really long term problem. the light sq complex and the e4 sq. however fianchettoing the dark bishop can be dangerous because stonewall follows a direct attack to king more easily than queenside, so you need to defend accurately. black can however choose to play b6 and Ba6 to remove white's light sq d3 bishop. but most of the time black can avoid the stonewall with:
Stonewall Structure

I do a pretty standard setup:
On Bxf5 you do exf5 and white has a backward pawn on e3. You can also just trade bishops yourself and white's minor pieces are just a little worse. The bishop usually goes to e7 or d6, and you keep the option of playing your pawn to f6 if you want to kick their knight out of e5.
Meanwhile (after development is finished) you have ideas like cxd4 and a minority attack on the queenside or pressure on d4 depending, while white is kind of stuck defending IMO. Even if they keep the pawn structure symmetrical by answer cxd with cxd it seems like white can only look forward to a difficult endgame because of his bad bishop.
Maybe white can hold tough with Be2 instead, and not be left with two seemingly redundant knights and a bad bishop? White is solid in any case, but it's black who has ideas to play with, again it seems white gets stuck defending.
By the way, if the attack makes you very nervous you can play h5 and delay castling. Sometimes the king can simply go to e7 while you maneuver on the kingside and or queenside. The center is locked so it can be safe.

I play the Stonewall a lot, and i have realized that anything that black does that like the example below, it causes me a lot of problems because they are trying to ruin your structure.
Oh, also, trying castling queenside at the last moment, when white is set up for a kingside attack. I always hate it when someone does that. Hope this helps.
I know that the stonewall setup (pawns on d4, e3, and f4) isn't even good for white against a proper defense but I continue to have difficulty with it, especially once white establishes a knight on the e5 square and begins his kingside attack. What is a good way for black to counter the stonewall? Is fianchettoing the dark-squared bishop a good idea? Comments or suggestions are welcome.