From 6ff885a893c7d42dd45eac4c2dd9ac57fe8d350c Mon Sep 17 00:00:00 2001 From: grvosku Date: Thu, 16 May 2024 15:23:18 -0600 Subject: [PATCH] Fix compile warnings Fix a few missing copyright updates --- .../elements/ember/run/configurations/3LevelModel.py | 4 ++-- .../ember/run/configurations/3LevelModelParams.py | 4 ++-- .../ember/run/configurations/basicDetailedModel.py | 4 ++-- .../run/configurations/basicDetailedModelParams.py | 4 ++-- .../elements/ember/run/configurations/defaultSim.py | 4 ++-- .../elements/ember/run/configurations/detailedSim.py | 4 ++-- .../ember/run/configurations/detailedStreamSim.py | 4 ++-- .../ember/run/configurations/sandyBridgeModel.py | 4 ++-- .../run/configurations/sandyBridgeModelParams.py | 4 ++-- .../elements/ember/run/configurations/sandySim.py | 4 ++-- src/sst/elements/memHierarchy/membackend/backing.h | 8 +++++--- src/sst/elements/mmu/simpleMMU.cc | 2 +- src/sst/elements/mmu/simpleMMU.h | 2 +- src/sst/elements/vanadis/decoder/vriscv64decoder.h | 4 ++-- src/sst/elements/vanadis/os/include/fdTable.h | 2 +- src/sst/elements/vanadis/os/include/process.h | 2 +- src/sst/elements/vanadis/os/syscall/clone.cc | 2 +- src/sst/elements/vanadis/os/syscall/exit.cc | 2 +- src/sst/elements/vanadis/os/vnodeos.cc | 12 ++++++------ src/sst/elements/vanadis/os/vphysmemmanager.h | 6 +++--- src/sst/elements/vanadis/vanadis.cc | 8 ++++---- 21 files changed, 46 insertions(+), 44 deletions(-) diff --git a/src/sst/elements/ember/run/configurations/3LevelModel.py b/src/sst/elements/ember/run/configurations/3LevelModel.py index 88f76bac88..a5398da62a 100644 --- a/src/sst/elements/ember/run/configurations/3LevelModel.py +++ b/src/sst/elements/ember/run/configurations/3LevelModel.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/3LevelModelParams.py b/src/sst/elements/ember/run/configurations/3LevelModelParams.py index 2716be99b0..9345feefdd 100644 --- a/src/sst/elements/ember/run/configurations/3LevelModelParams.py +++ b/src/sst/elements/ember/run/configurations/3LevelModelParams.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/basicDetailedModel.py b/src/sst/elements/ember/run/configurations/basicDetailedModel.py index 564ab34470..3fa0a68e58 100644 --- a/src/sst/elements/ember/run/configurations/basicDetailedModel.py +++ b/src/sst/elements/ember/run/configurations/basicDetailedModel.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/basicDetailedModelParams.py b/src/sst/elements/ember/run/configurations/basicDetailedModelParams.py index ea85984d63..3c845c867d 100644 --- a/src/sst/elements/ember/run/configurations/basicDetailedModelParams.py +++ b/src/sst/elements/ember/run/configurations/basicDetailedModelParams.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/defaultSim.py b/src/sst/elements/ember/run/configurations/defaultSim.py index d4447b588f..c494f9e164 100644 --- a/src/sst/elements/ember/run/configurations/defaultSim.py +++ b/src/sst/elements/ember/run/configurations/defaultSim.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/detailedSim.py b/src/sst/elements/ember/run/configurations/detailedSim.py index bb0e6fb45a..11390982fe 100644 --- a/src/sst/elements/ember/run/configurations/detailedSim.py +++ b/src/sst/elements/ember/run/configurations/detailedSim.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/detailedStreamSim.py b/src/sst/elements/ember/run/configurations/detailedStreamSim.py index b3afaa4748..650c9cfcd6 100644 --- a/src/sst/elements/ember/run/configurations/detailedStreamSim.py +++ b/src/sst/elements/ember/run/configurations/detailedStreamSim.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/sandyBridgeModel.py b/src/sst/elements/ember/run/configurations/sandyBridgeModel.py index ffb15a9af9..9a3e070f39 100644 --- a/src/sst/elements/ember/run/configurations/sandyBridgeModel.py +++ b/src/sst/elements/ember/run/configurations/sandyBridgeModel.py @@ -1,9 +1,9 @@ -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/sandyBridgeModelParams.py b/src/sst/elements/ember/run/configurations/sandyBridgeModelParams.py index 979c343bdb..a766a915e7 100644 --- a/src/sst/elements/ember/run/configurations/sandyBridgeModelParams.py +++ b/src/sst/elements/ember/run/configurations/sandyBridgeModelParams.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/ember/run/configurations/sandySim.py b/src/sst/elements/ember/run/configurations/sandySim.py index 6fd79f5bdb..42d0342ec7 100644 --- a/src/sst/elements/ember/run/configurations/sandySim.py +++ b/src/sst/elements/ember/run/configurations/sandySim.py @@ -1,10 +1,10 @@ #!/usr/bin/env python # -# Copyright 2009-2022 NTESS. Under the terms +# Copyright 2009-2024 NTESS. Under the terms # of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. # -# Copyright (c) 2009-2022, NTESS +# Copyright (c) 2009-2024, NTESS # All rights reserved. # # Portions are copyright of other developers: diff --git a/src/sst/elements/memHierarchy/membackend/backing.h b/src/sst/elements/memHierarchy/membackend/backing.h index eebfe216eb..ee0b2b189b 100644 --- a/src/sst/elements/memHierarchy/membackend/backing.h +++ b/src/sst/elements/memHierarchy/membackend/backing.h @@ -107,7 +107,9 @@ class BackingMalloc : public Backing { char str[80]; fscanf(fp,"Number-of-pages: %d\n", &num ); fscanf(fp,"m_allocUnit: %d\n", &m_allocUnit ); - fscanf(fp,"m_init: %d\n", &m_init ); + int tmpInit; + fscanf(fp,"m_init: %d\n", &tmpInit ); + m_init = tmpInit; fscanf(fp,"m_shift: %d\n", &m_shift ); printf("Number-of-pages: %d\n",num); printf("m_allocUnit: %d\n",m_allocUnit); @@ -222,13 +224,13 @@ class BackingMalloc : public Backing { void dump( FILE* fp ) { - fprintf(fp,"Number-of-pages: %d\n",m_buffer.size()); + fprintf(fp,"Number-of-pages: %zu\n",m_buffer.size()); fprintf(fp,"m_allocUnit: %d\n",m_allocUnit); fprintf(fp,"m_init: %d\n",m_init); fprintf(fp,"m_shift: %d\n",m_shift); for ( auto const& x : m_buffer ) { - fprintf(fp,"addr: %#lx\n",x.first << m_shift); + fprintf(fp,"addr: %#llx\n",x.first << m_shift); auto length = sizeof(uint8_t)*m_allocUnit; length /= sizeof(uint64_t); auto ptr = (uint64_t*) x.second; diff --git a/src/sst/elements/mmu/simpleMMU.cc b/src/sst/elements/mmu/simpleMMU.cc index beb639e384..34c2a6e66f 100644 --- a/src/sst/elements/mmu/simpleMMU.cc +++ b/src/sst/elements/mmu/simpleMMU.cc @@ -179,7 +179,7 @@ void SimpleMMU::checkpoint( std::string dir ) { fprintf(fp,"m_coreToPid.size() %zu\n", m_coreToPid.size()); for ( auto core = 0; core < m_coreToPid.size(); core++ ) { auto& x = m_coreToPid[core]; - fprintf(fp,"core: %d, numPids: %d\n",core,x.size()); + fprintf(fp,"core: %d, numPids: %zu\n",core,x.size()); for ( auto j = 0; j < x.size(); j++ ) { fprintf(fp,"%d ",x[j]); } diff --git a/src/sst/elements/mmu/simpleMMU.h b/src/sst/elements/mmu/simpleMMU.h index 5cd2e90b0a..9dcfbfbd0f 100644 --- a/src/sst/elements/mmu/simpleMMU.h +++ b/src/sst/elements/mmu/simpleMMU.h @@ -145,7 +145,7 @@ class SimpleMMU : public MMU { void checkpoint( FILE* fp ) { fprintf(fp,"pteMap.size() %zu\n",pteMap.size()); for ( auto & x : pteMap ) { - fprintf(fp,"vpn: %d, ppn: %d, perms: %#lx \n", x.first,x.second.ppn,x.second.perms ); + fprintf(fp,"vpn: %d, ppn: %d, perms: %d \n", x.first,x.second.ppn,x.second.perms ); } } private: diff --git a/src/sst/elements/vanadis/decoder/vriscv64decoder.h b/src/sst/elements/vanadis/decoder/vriscv64decoder.h index 8f97d81f20..670bb2a5ef 100644 --- a/src/sst/elements/vanadis/decoder/vriscv64decoder.h +++ b/src/sst/elements/vanadis/decoder/vriscv64decoder.h @@ -1037,7 +1037,7 @@ class VanadisRISCV64Decoder : public VanadisDecoder } break; case 0x1: // SBREAK { - printf("%#lx %#x SBREAK\n",ins_address,ins); + printf("%#llx %#x SBREAK\n",ins_address,ins); assert(0); } break; } @@ -1362,7 +1362,7 @@ class VanadisRISCV64Decoder : public VanadisDecoder { if(LIKELY(op_width != 0)) { output->verbose(CALL_INFO, 16, 0, - "-----> %s.%s 0x%lx / thr: %" PRIu32 " / %" PRIu16 " <- memory[ %" PRIu16 " ] <- %" PRIu16 + "-----> %s.%s 0x%llx / thr: %" PRIu32 " / %" PRIu16 " <- memory[ %" PRIu16 " ] <- %" PRIu16 " / width: %" PRIu32 " / aq: %s / rl: %s\n", getAMO_name(amo_op).c_str(), getAMO_type( func_code3 ).c_str(), ins_address, hw_thr, rd, rs1, rs2, op_width, perform_aq ? "yes" : "no", perform_rl ? "yes" : "no"); diff --git a/src/sst/elements/vanadis/os/include/fdTable.h b/src/sst/elements/vanadis/os/include/fdTable.h index 67418549fc..010a40bf9f 100644 --- a/src/sst/elements/vanadis/os/include/fdTable.h +++ b/src/sst/elements/vanadis/os/include/fdTable.h @@ -119,7 +119,7 @@ class FileDescriptor { assert( 1 == fscanf(fp,"flags: %d\n", &flags ) ); output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"flags: %d\n", flags ); - assert( 1 == fscanf(fp,"mode: %d\n", &mode) ); + assert( 1 == fscanf(fp,"mode: %hd\n", &mode) ); output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"mode: %d\n", mode); } diff --git a/src/sst/elements/vanadis/os/include/process.h b/src/sst/elements/vanadis/os/include/process.h index 2551081461..7416818230 100644 --- a/src/sst/elements/vanadis/os/include/process.h +++ b/src/sst/elements/vanadis/os/include/process.h @@ -244,7 +244,7 @@ class ProcessInfo { fprintf(fp,"m_gid: %d\n",m_gid); fprintf(fp,"m_core: %d\n",m_core); fprintf(fp,"m_hwThread: %d\n",m_hwThread); - fprintf(fp,"m_tidAddress: %#lx\n",m_tidAddress); + fprintf(fp,"m_tidAddress: %#llx\n",m_tidAddress); m_virtMemMap->checkpoint(fp); m_fileTable->checkpoint(fp); diff --git a/src/sst/elements/vanadis/os/syscall/clone.cc b/src/sst/elements/vanadis/os/syscall/clone.cc index bda28e2006..85b840f3cd 100644 --- a/src/sst/elements/vanadis/os/syscall/clone.cc +++ b/src/sst/elements/vanadis/os/syscall/clone.cc @@ -89,7 +89,7 @@ VanadisCloneSyscall::VanadisCloneSyscall( VanadisNodeOSComponent* os, SST::Link* } else { // DETACHED is deprecated if ( ( event->getFlags() & ~RISVC_CLONE_DETACHED ) != CLONE_FLAGS ) { - m_output->fatal(CALL_INFO, -1, "Error: clone, flags not supported %#lx\n",event->getFlags()); + m_output->fatal(CALL_INFO, -1, "Error: clone, flags not supported %#llx\n",event->getFlags()); } m_newThread = new OS::ProcessInfo; diff --git a/src/sst/elements/vanadis/os/syscall/exit.cc b/src/sst/elements/vanadis/os/syscall/exit.cc index 65a195a8ed..7e427a5da5 100644 --- a/src/sst/elements/vanadis/os/syscall/exit.cc +++ b/src/sst/elements/vanadis/os/syscall/exit.cc @@ -32,7 +32,7 @@ VanadisExitSyscall::VanadisExitSyscall( VanadisNodeOSComponent* os, SST::Link* c printf("node=%d pid=%d tid=%d has exited\n", m_os->getNodeNum(), process->getpid(), process->gettid()); } else { if ( event->getExitCode() > 0 ) { - printf("pid=%d tid=%d has exited with code %lu, Failed\n", process->getpid(), process->gettid(),event->getExitCode()); + printf("pid=%d tid=%d has exited with code %llu, Failed\n", process->getpid(), process->gettid(),event->getExitCode()); } else { printf("pid=%d tid=%d has exited\n", process->getpid(), process->gettid()); } diff --git a/src/sst/elements/vanadis/os/vnodeos.cc b/src/sst/elements/vanadis/os/vnodeos.cc index c5a2baf0a5..9a47837afa 100644 --- a/src/sst/elements/vanadis/os/vnodeos.cc +++ b/src/sst/elements/vanadis/os/vnodeos.cc @@ -307,7 +307,7 @@ VanadisNodeOSComponent::checkpoint( std::string dir ) fprintf(fp,"m_phdr_address: %#" PRIx64 "\n",m_phdr_address); fprintf(fp,"m_stack_top: %#" PRIx64 "\n",m_stack_top); fprintf(fp,"m_nodeNum: %d\n",m_nodeNum); - fprintf(fp,"m_osStartTimeNano: %lu\n",m_osStartTimeNano); + fprintf(fp,"m_osStartTimeNano: %llu\n",m_osStartTimeNano); fprintf(fp,"m_currentTid: %d\n",m_currentTid); assert( m_pendingFault.empty() ); @@ -456,16 +456,16 @@ int VanadisNodeOSComponent::checkpointLoad( std::string dir ) output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_pageSize: %d\n",m_pageSize); assert( 1 == fscanf(fp,"m_phdr_address: %" PRIx64 "\n",&m_phdr_address) ); - output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_phdr_address: %#lx\n",m_phdr_address); + output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_phdr_address: %#llx\n",m_phdr_address); assert( 1 == fscanf(fp,"m_stack_top: %" PRIx64 "\n",&m_stack_top) ); - output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_stack_top: %#lx\n",m_stack_top); + output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_stack_top: %#llx\n",m_stack_top); assert( 1 == fscanf(fp,"m_nodeNum: %d\n",&m_nodeNum) ); output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_nodeNum: %d\n",m_nodeNum); - assert( 1 == fscanf(fp,"m_osStartTimeNano: %lu\n",&m_osStartTimeNano) ); - output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_osStartTimeNano: %lu\n",m_osStartTimeNano); + assert( 1 == fscanf(fp,"m_osStartTimeNano: %llu\n",&m_osStartTimeNano) ); + output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_osStartTimeNano: %llu\n",m_osStartTimeNano); assert( 1 == fscanf(fp,"m_currentTid: %d\n",&m_currentTid) ); output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_currentTid: %d\n",m_currentTid); @@ -624,7 +624,7 @@ VanadisNodeOSComponent::handleIncomingSyscall(SST::Event* ev) { m_flushPages.push_back( 0x28c0 ); for ( auto & x : m_flushPages ) { - printf("%#lx\n",x); + printf("%#llx\n",x); StandardMem::Request* req = new SST::Interfaces::StandardMem::FlushAddr( x, 64, true, 5, 0 ); mem_if->send(req); } diff --git a/src/sst/elements/vanadis/os/vphysmemmanager.h b/src/sst/elements/vanadis/os/vphysmemmanager.h index 29aeb6645b..3abe5e7253 100644 --- a/src/sst/elements/vanadis/os/vphysmemmanager.h +++ b/src/sst/elements/vanadis/os/vphysmemmanager.h @@ -145,7 +145,7 @@ class PhysMemManager { output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"PhysMemManager %s\n", filename.str().c_str()); - fprintf(fp,"m_numAllocated %lu\n",m_numAllocated); + fprintf(fp,"m_numAllocated %llu\n",m_numAllocated); m_bitMap.checkpoint(fp); } void checkpointLoad( SST::Output* output , std::string dir ) { @@ -154,8 +154,8 @@ class PhysMemManager { auto fp = fopen(filename.str().c_str(),"r"); assert(fp); - assert( 1 == fscanf(fp,"m_numAllocated %ld\n",&m_numAllocated) ); - output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_numAllocated %lu\n",m_numAllocated); + assert( 1 == fscanf(fp,"m_numAllocated %llu\n",&m_numAllocated) ); + output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"m_numAllocated %llu\n",m_numAllocated); m_bitMap.checkpointLoad(output,fp); } diff --git a/src/sst/elements/vanadis/vanadis.cc b/src/sst/elements/vanadis/vanadis.cc index 21bf9e9537..7e970d33e3 100644 --- a/src/sst/elements/vanadis/vanadis.cc +++ b/src/sst/elements/vanadis/vanadis.cc @@ -2173,8 +2173,8 @@ VANADIS_COMPONENT::checkpoint(FILE* fp ) fprintf(fp,"Hardware thread: %d\n",i); if ( m_checkpointing[i] ) { fprintf(fp,"active: yes\n"); - fprintf(fp,"rob[0] %#lx %s\n", rob[i]->peekAt(0)->getInstructionAddress(), rob[i]->peekAt(0)->getInstCode() ); - fprintf(fp,"rob[1] %#lx %s\n", rob[i]->peekAt(1)->getInstructionAddress(), rob[i]->peekAt(1)->getInstCode() ); + fprintf(fp,"rob[0] %#llx %s\n", rob[i]->peekAt(0)->getInstructionAddress(), rob[i]->peekAt(0)->getInstCode() ); + fprintf(fp,"rob[1] %#llx %s\n", rob[i]->peekAt(1)->getInstructionAddress(), rob[i]->peekAt(1)->getInstCode() ); auto isa_table = retire_isa_tables[i]; auto reg_file = register_files[i]; @@ -2220,12 +2220,12 @@ VANADIS_COMPONENT::checkpointLoad(FILE* fp) uint64_t startAddr; char str1[40],str2[40]; - assert( 3 == fscanf(fp,"%s %" PRIx64 " %s\n",&str1,&value,str2) ); + assert( 3 == fscanf(fp,"%s %" PRIx64 " %s\n",str1,&value,str2) ); startAddr = value + 4; output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"%s %#" PRIx64 " %s\n",str1,value,str2 ); output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"set thread %d start address %#" PRIx64 "\n",hw_thr,startAddr); - assert( 3 == fscanf(fp,"%s %" PRIx64 " %s\n",&str1,&value,str2) ); + assert( 3 == fscanf(fp,"%s %" PRIx64 " %s\n",str1,&value,str2) ); output->verbose(CALL_INFO, 0, VANADIS_DBG_CHECKPOINT,"%s %#" PRIx64 " %s\n",str1,value,str2 ); assert( 1 == fscanf(fp,"tlsPtr: %" PRIx64 "\n",&value) );