Let $f\colon\thinspace E\to B$ be a Serre fibration whose fibre $F$ is $k-1$-connected, $k\geq 1$. Assume $B$ is a connected CW complex. Then the primary obstruction to the existence of a cross section of $f$ is defined; it is a cohomology class $$\mathfrak{o}(f)\in H^{k+1}(B;\tilde{H}_{k}(F)).$$ Here the coefficients may be twisted by $\pi_1(B)$. The definition involves choosing a section on the $k$-skeleton which you then try to extend, but the class itself is canonical (depends only on the fibration).
Meanwhile, there is the cohomology Leray-Serre spectral sequence of the fibration, with $$E_2^{p,q}=H^p(B;H^q(F))\implies H^*(E),$$ where again the coefficients in the $E_2$ term may be twisted by the action of $\pi_1(B)$.
Here is my question, which I'm a little embarrassed to ask:
Is there a canonical class in the $E_2$ term which relates somehow to $\mathfrak{o}(f)$?
Sorry for being (intentionally) vague.
Edit: As Grigory M points out in his answer, if we work over a field and assume the local system on the base formed from the homology of the fibres is trivial, then the first non-trivial differential $$d_{k+1}\in \mathrm{Hom}(H^k(F),H^{k+1}(B))$$ is the linear dual of an element $$d_{k+1}^\ast\in\mathrm{Hom}(H_{k+1}(B),H_k(F))\cong H^{k+1}(B;H_{k}(F))$$ which should equal the obstruction class.
Has anyone seen a reference for this?
Can anyone give a more general statement when the local coefficient system is non-trivial?
Thanks.