Hi,

I recently updated a branch which tracked master to current HEAD, and
got a compilation failure with --enable-maintainer-mode (see PR 96735):

make: *** No rule to make target '../build-x86_64-pc-linux-gnu/libiberty/libiberty.a', needed by 'build/genmodes'. Stop.

Switching the branch to master and then updating (which produced
identical files, of course) made the compilation succeed.

Since the only thing different between the two versions were timestamps
on the files (at least git showed nothing else), I would assume that
timestamp handling in contrib/gcc_update somehow is not correct, or
maybe I unintentionally invoked some command that is not correct (does
running "git pull" on a branch have the potential of ruining that branch
locally for the future?)

So, how to proceed?  I do need --enable-maintainer-mode from time to
time, and having it fail mysteriously on is not a good thing.
Maybe contrib/gcc_update can be updated to make this safe?

Best regards

        Thomas

Reply via email to