When building on RHEL7, in the case where python has not been suppressed via '--without-python' (i.e. USE_PYTHON is true), the SConstruct file uses 'python[3]-config --libs --embed' or 'python[3]-config --ldflags' to get a list of tokens. It then selects anything not starting with '-l' to append to LINKFLAGS.
In my case, these flags include '-L/usr/lib64'. This step is early in the process of building LINKFLAGS. Anything later extracted from the environment, or specified via LDFLAGS_EXTRA, is appended to LINKFLAGS after this. The effect is that I can't override any library that is found at link-time in /usr/lib64. For example, I've spent some time trying to figure out why my custom-built libprotobuf was not resolving undefined symbols in the gem5 link. Suppressing the addition of this '-L/usr/lib64' to the link-flags allows me to get past that problem, since my own version of the library is now used, but this is probably not the right fix, in general. Thanks, Jeff _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s