I have an SD socket connected directly to the SPI header with very short, under an inch, wires on a proto shield.
stimmer has this setup.
Incidentally I am using 6 inch flying leads from the SPI port into a breadboard and an SD breakout. No errors