Skip to content
Branch: master
Find file History
aaronenyeshi and mangupta Fix dlpi_name info empty when using GCC on ub18 (#1181)
This fixes a bug where GCC++ on Ubuntu 18.04 creates failing executables compared to GCC++ on 16.04 and clang++. While creating function names on Ubuntu 18.04, dl_phdr_info seems to provide a non-zero value for dlpi_addr on initial iteration, and an empty string in dlpi_name. This is causing failure when linking with g++, since the empty string prevents the kernel function from being loaded. Clang++ and GCC on UB16 provide a zero value for dlpi_addr. To fix this, we need to verify both addr and name exists, so that /proc/self/exe can be properly loaded.
Latest commit 77bef86 Jun 24, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
AMDGPUPTNote.h
AMDGPURuntimeMetadata.h Apply .clangformat to all repo source files Mar 12, 2018
code_object_bundle.cpp minor workaround for lazy binding Apr 2, 2019
device_util.h Support malloc/free for hip-clang Jul 27, 2018
env.cpp Apply .clangformat to all repo source files Mar 12, 2018
env.h Apply .clangformat to all repo source files Mar 12, 2018
functional_grid_launch.inl dlopen() fixes (#929) Mar 6, 2019
grid_launch.cpp Apply .clangformat to all repo source files Mar 12, 2018
h2f.cpp Add __gnu_h2f_ieee and __gnu_f2h_ieee Feb 21, 2019
hip_clang.cpp migrate program_state logic from header into shared library (phase I) ( May 12, 2019
hip_context.cpp renaming HIP_INIT_CB_API to HIP_INIT_API Nov 13, 2018
hip_db.cpp Apply .clangformat to all repo source files Mar 12, 2018
hip_device.cpp Use NUMA distance for hop count calculation May 15, 2019
hip_error.cpp renaming HIP_INIT_CB_API to HIP_INIT_API Nov 13, 2018
hip_event.cpp renaming HIP_INIT_CB_API to HIP_INIT_API Nov 13, 2018
hip_fatbin.cpp reimplement HIP_INIT as hip_impl::hip_init(), add hip_init() to some … Mar 20, 2019
hip_fatbin.h Let hip-clang support --genco Nov 27, 2018
hip_hcc.cpp [hip] implement the hipExtLaunchMultiKernelMultiDevice API (#1165) Jun 20, 2019
hip_hcc_internal.h [hip] implement the hipExtLaunchMultiKernelMultiDevice API (#1165) Jun 20, 2019
hip_intercept.cpp prof layer includes refactoring Jun 12, 2019
hip_memory.cpp [HIP][HIPIFY] Make hipMemcpyParam2D coherent with cuMemcpy2D May 22, 2019
hip_module.cpp [hip] implement the hipExtLaunchMultiKernelMultiDevice API (#1165) Jun 20, 2019
hip_peer.cpp tracing callback layer update Mar 15, 2019
hip_prof_api.h prof layer includes refactoring Jun 12, 2019
hip_stream.cpp Add extension for kernel concurrency on same stream Mar 6, 2019
hip_surface.cpp renaming HIP_INIT_CB_API to HIP_INIT_API Nov 13, 2018
hip_surface.h Added hip_surface header file Mar 1, 2018
hip_texture.cpp renaming HIP_INIT_CB_API to HIP_INIT_API Nov 13, 2018
hip_texture.h HIP Texture Support Jul 17, 2017
hip_util.h Fixed copyright and header names Mar 31, 2017
hiprtc.cpp Add HIPRTC, glorious ersatz for NVRTC (#1097) May 16, 2019
macro_based_grid_launch.inl [cmake] Added target static_check for static code analysis Dec 14, 2017
program_state.cpp replace std::vector for kernarg May 24, 2019
program_state.inl Fix dlpi_name info empty when using GCC on ub18 (#1181) Jun 25, 2019
trace_helper.h Apply .clangformat to all repo source files Mar 12, 2018
You can’t perform that action at this time.