Benjamin Kosnik - Re: [v3] make check-abi (original) (raw)

This is the mail archive of the libstdc++@gcc.gnu.orgmailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Shall we tweak the configure fragments as required so that if config/abi/CPU-VENDOR-OSX.Y/baseline_symbols.txt is not found then (at least) config/abi/CPU-VENDOR-OSX/baseline_symbols.txt and then (maybe) config/abi/CPU-VENDOR-OS/baseline_symbols.txt are candidates for use.

gcc 3.2 on CPU-unknown-freebsd4 has one C++ ABI and gcc 3.2 on CPU-unknown-freebsd5 may have another (although it may coincidentally be identical). By default, the target triples constructed by config.guess on FreeBSD, Solaris and elsewhere add the OS version number.

I would advocate having the baseline_symbols file be stored in a variable. The variable is guessed as a default, and then configure.target can override it, e.g., in the very bottom clause testing for both cpu and os.

Then we export the variable to the Makefiles.

What do you think?

I'm open to the idea of coalescing the cpu/os info, and have no strong feelings on the best way to do it.

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]